summaryrefslogtreecommitdiff
path: root/social/bitcoin-daemon/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-01-05 22:51:26 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-01-05 22:51:26 -0500
commit9120886b119a1d60704f67e26509d05dd301649a (patch)
tree3069190208ab662db21a36269f66af314e765fa7 /social/bitcoin-daemon/PKGBUILD
parent52281f6006c5a93b3d5fd1fec4f48c6591f91f91 (diff)
parent7166e2302ae1b95734a166b65f432cb1706779a4 (diff)
downloadabslibre-9120886b119a1d60704f67e26509d05dd301649a.tar.gz
abslibre-9120886b119a1d60704f67e26509d05dd301649a.tar.bz2
abslibre-9120886b119a1d60704f67e26509d05dd301649a.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/abslibre
Diffstat (limited to 'social/bitcoin-daemon/PKGBUILD')
-rw-r--r--social/bitcoin-daemon/PKGBUILD36
1 files changed, 15 insertions, 21 deletions
diff --git a/social/bitcoin-daemon/PKGBUILD b/social/bitcoin-daemon/PKGBUILD
index 39a0b22b1..29e68d0f3 100644
--- a/social/bitcoin-daemon/PKGBUILD
+++ b/social/bitcoin-daemon/PKGBUILD
@@ -6,27 +6,22 @@
pkgname=bitcoin-daemon
_pkgname=bitcoin
-pkgver=0.4.0
+pkgver=0.5.1
pkgrel=1
pkgdesc="Bitcoin is a peer-to-peer network based digital currency (daemon with JSON-RPC interface)."
arch=('i686' 'x86_64')
url="http://www.bitcoin.org/"
-depends=('expat' 'boost-libs>=1.46' 'miniupnpc>=1.6')
-makedepends=('boost')
+depends=('expat' 'boost-libs>=1.46' 'miniupnpc>=1.6' 'openssl')
+makedepends=('boost' 'gcc' 'make')
conflicts=('bitcoin')
license=('MIT')
install="bitcoin-daemon.install"
source=("http://downloads.sourceforge.net/sourceforge/${_pkgname}/${_pkgname}-${pkgver}-linux.tar.gz"
- makefile.parabola
bitcoin-daemon.install
rc.bitcoind)
-md5sums=('cb085fef9d49d25e7f3dd263950b1ed2'
- '8d40b6a332721bf7354cca4070e082df'
- '0375ba4d6c3425eee350dc8b7575403d'
- '7faa439885f3adbba5847ae75aac5484')
s1=$srcdir/${_pkgname}-${pkgver}-linux
-src=$s1/src/src/
+src=$s1/src/src
makefile_unix=makefile.unix
build() {
@@ -39,24 +34,23 @@ build() {
-e 's/\(USE_UPNP:=\)0/\11/' \
-e 's/$(DEBUGFLAGS)//g' \
-e 's/CXXFLAGS/CPPFLAGS/g' \
- -e 's/-O[0-3]/${CXXFLAGS}/g'
+ -e 's/-O[0-3]/${CXXFLAGS}/g'
- # single-threaded build due to OOM issues reported
- make -j1 -f $makefile_unix bitcoind
+ # make bitcoind
+ make $MAKEFLAGS -f $makefile_unix bitcoind
}
package() {
# get compiled binaries
- mkdir -p $pkgdir/{usr/{bin,share/licenses/$pkgname},var/lib/$pkgname}
- install -D -m755 $src/bitcoind $pkgdir/usr/bin/
+ install -d ${pkgdir}/{var/lib/${pkgname},usr/{share/licenses,bin},etc/rc.d}
- # install locales (FIXME bicycle with find|xargs)
- mkdir -p $pkgdir/usr/share/locale
- cd $s1/locale/
- find -name *.mo | xargs -I{} install -D -m644 {} $pkgdir/usr/share/locale/{}
-
+ install -D -m755 ${src}/bitcoind ${pkgdir}/usr/bin/
- install -D -m 644 $s1/COPYING \
- $pkgdir/usr/share/licenses/$pkgname/
+ install -D -m755 ${srcdir}/rc.bitcoind ${pkgdir}/etc/rc.d/
+ install -D -m 644 ${s1}/COPYING \
+ ${pkgdir}/usr/share/licenses/${pkgname}/
}
+md5sums=('1edeb3082d41741b8d0e5f850818328f'
+ '0375ba4d6c3425eee350dc8b7575403d'
+ '7faa439885f3adbba5847ae75aac5484')