diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-01-06 09:54:55 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-01-06 09:54:55 -0300 |
commit | 60f323f25d2c0addbce5832ffbda060b0410d14f (patch) | |
tree | 644b9212e37f1a63dcef3977159033dee2f04392 /social/bitcoin-daemon | |
parent | 9e2eedaa4921b8d57c364fb3e2a8c9e2e96b8e69 (diff) | |
parent | 817e58c278cb8ebee7743205877d0f67c431fcec (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
core/inetutils/PKGBUILD
extra/audacious/PKGBUILD
extra/cvs/PKGBUILD
kde-unstable/libkipi/PKGBUILD
libre/linux-libre/PKGBUILD
libre/mplayer-vaapi-libre/PKGBUILD
libre/pacman/PKGBUILD
libre/psutils-libre/PKGBUILD
libre/texlive-bin-libre/PKGBUILD
staging/kdebase-runtime/PKGBUILD
Diffstat (limited to 'social/bitcoin-daemon')
-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 dee3f8daa..5344ebed7 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' 'mips64el') 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') |