bitcoin: switch to libressl.

This commit is contained in:
Juan RP 2014-07-15 17:06:15 +02:00
parent 32b1807576
commit 62f0524c2c

View file

@ -1,10 +1,10 @@
# Template file for 'bitcoin'
pkgname=bitcoin
version=0.9.2
revision=1
revision=2
create_wrksrc=yes
hostmakedepends="which pkg-config"
makedepends="db-devel protobuf-devel openssl-devel boost-devel>=1.54 miniupnpc-devel"
makedepends="db-devel protobuf-devel libressl-devel boost-devel>=1.54 miniupnpc-devel"
short_desc="Bitcoin is a peer-to-peer network based digital currency"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
@ -40,11 +40,11 @@ do_build() {
make ${makejobs}
}
do_install() {
vinstall ${pkgname}-${version}/src/bitcoind 755 usr/bin
vinstall bitcoin.conf 644 usr/share/examples/$pkgname
vinstall bitcoind.1 644 usr/share/man/man1
vinstall bitcoin.conf.5 644 usr/share/man/man5
vinstall ${pkgname}-${version}/COPYING 644 usr/share/licenses/$pkgname
vbin ${pkgname}-${version}/src/bitcoind
vsconf bitcoin.conf
vman bitcoind.1
vman bitcoin.conf.5
vlicense ${pkgname}-${version}/COPYING
}
if [ -z "$CROSS_BUILD" ]; then
@ -53,7 +53,7 @@ bitcoin-qt_package() {
depends="desktop-file-utils"
short_desc+=" - QT GUI"
pkg_install() {
vinstall ${wrksrc}/${sourcepkg}-${version}/src/qt/bitcoin-qt 755 usr/bin
vbin ${wrksrc}/${sourcepkg}-${version}/src/qt/bitcoin-qt
vinstall ${wrksrc}/bitcoin-qt.desktop 644 usr/share/applications
vinstall ${wrksrc}/bitcoin128.png 644 usr/share/pixmaps
}