diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-01-05 16:17:04 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-01-05 16:17:04 -0300 |
commit | 7166e2302ae1b95734a166b65f432cb1706779a4 (patch) | |
tree | bcf61e272c95eb18c785dc3afb3fe23b3283ae3a /social | |
parent | 50a32818447cc166a587039c7a64de05b31eedd3 (diff) |
social/bitcoin-daemon-0.5.1-1
It kills RAM during build
Diffstat (limited to 'social')
-rw-r--r-- | social/bitcoin-daemon/PKGBUILD | 36 |
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') |