mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
bitcoin: update to 0.15.0.1
This commit is contained in:
parent
8c2118f12b
commit
51f3b056de
1 changed files with 10 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'bitcoin'
|
# Template file for 'bitcoin'
|
||||||
pkgname=bitcoin
|
pkgname=bitcoin
|
||||||
version=0.14.2
|
version=0.15.0.1
|
||||||
revision=4
|
revision=1
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
hostmakedepends="pkg-config yasm"
|
hostmakedepends="pkg-config yasm"
|
||||||
makedepends="db-devel protobuf-devel boost-devel miniupnpc-devel libevent-devel qrencode-devel"
|
makedepends="db-devel protobuf-devel boost-devel miniupnpc-devel libevent-devel qrencode-devel"
|
||||||
|
@ -10,7 +10,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://bitcoin.org/"
|
homepage="https://bitcoin.org/"
|
||||||
distfiles="https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
|
distfiles="https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
|
||||||
checksum=1ac4e5ce51ac03c41df0ad1e759dbb55d91e1456b9a616e43344bf2258dbe8ca
|
checksum=b57e9e756018e4082f5557a4216195b0cd197c5a62473b6fe0509a0aa71e519b
|
||||||
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
# XXX -qt subpkg
|
# XXX -qt subpkg
|
||||||
|
@ -29,7 +29,7 @@ pre_configure() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
do_configure() {
|
do_configure() {
|
||||||
cd ${pkgname}-${version}
|
cd ${pkgname}-${version%.*}
|
||||||
|
|
||||||
./configure ${configure_args} \
|
./configure ${configure_args} \
|
||||||
--with-incompatible-bdb \
|
--with-incompatible-bdb \
|
||||||
|
@ -39,16 +39,16 @@ do_configure() {
|
||||||
--with-boost=${XBPS_CROSS_BASE}/usr
|
--with-boost=${XBPS_CROSS_BASE}/usr
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
cd ${pkgname}-${version}
|
cd ${pkgname}-${version%.*}
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin ${pkgname}-${version}/src/bitcoin-cli
|
vbin ${pkgname}-${version%.*}/src/bitcoin-cli
|
||||||
vbin ${pkgname}-${version}/src/bitcoind
|
vbin ${pkgname}-${version%.*}/src/bitcoind
|
||||||
vbin ${pkgname}-${version}/src/bitcoin-tx
|
vbin ${pkgname}-${version%.*}/src/bitcoin-tx
|
||||||
vsconf bitcoin.conf
|
vsconf bitcoin.conf
|
||||||
vman bitcoind.1
|
vman bitcoind.1
|
||||||
vlicense ${pkgname}-${version}/COPYING
|
vlicense ${pkgname}-${version%.*}/COPYING
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
@ -57,7 +57,7 @@ bitcoin-qt_package() {
|
||||||
depends="desktop-file-utils"
|
depends="desktop-file-utils"
|
||||||
short_desc+=" - QT GUI"
|
short_desc+=" - QT GUI"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vbin ${wrksrc}/${sourcepkg}-${version}/src/qt/bitcoin-qt
|
vbin ${wrksrc}/${sourcepkg}-${version%.*}/src/qt/bitcoin-qt
|
||||||
vinstall ${wrksrc}/bitcoin-qt.desktop 644 usr/share/applications
|
vinstall ${wrksrc}/bitcoin-qt.desktop 644 usr/share/applications
|
||||||
vinstall ${wrksrc}/bitcoin128.png 644 usr/share/pixmaps
|
vinstall ${wrksrc}/bitcoin128.png 644 usr/share/pixmaps
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue