diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-09-21 08:52:50 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-09-21 08:52:50 +0300 |
commit | 14253e00b6b6c62f2e2605097fc8a1f203b7da80 (patch) | |
tree | ee1d64ebf3e1b503a3cda189e5a4411bf60df58d /testing/datacoin-hp | |
parent | 5e7b240339d9eba07e0df0904ee90469c2b2d1a8 (diff) | |
download | aports-14253e00b6b6c62f2e2605097fc8a1f203b7da80.tar.bz2 aports-14253e00b6b6c62f2e2605097fc8a1f203b7da80.tar.xz |
testing/datacoin-hp: new package
Diffstat (limited to 'testing/datacoin-hp')
-rw-r--r-- | testing/datacoin-hp/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/datacoin-hp/APKBUILD b/testing/datacoin-hp/APKBUILD new file mode 100644 index 0000000000..762ffef011 --- /dev/null +++ b/testing/datacoin-hp/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: +pkgname=datacoin-hp +pkgver=0_git20140921 +pkgrel=0 +_commit=791125b901767b9dec40e04f6865181a3276395b +pkgdesc="High-performance version of datacoin" +url=https://github.com/foo1inge/datacoin-hp +arch=all +license=MIT +depends= +makedepends="boost-dev db-dev gmp-dev miniupnpc-dev openssl-dev" +install= +subpackages= +source=$url/archive/$_commit.zip + +_builddir=$srcdir/$pkgname-$_commit/src +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + make -f makefile.unix BOOST_LIB_SUFFIX=-mt +} + +package() { + cd "$_builddir" + install -D -m 755 datacoind "$pkgdir/usr/bin/datacoind" +} + +md5sums="f5fc62457bf6d64286eb24d11a4b3169 791125b901767b9dec40e04f6865181a3276395b.zip" +sha256sums="99c0147bdf838337ff4b6b66519f6e04810b8ff2d88251bcb46e844c4720a507 791125b901767b9dec40e04f6865181a3276395b.zip" +sha512sums="8925bd53749f5370299c38a90c96be539c8064de4e077cc0f6090353d9484fdcd38236c0da88b9c2d6cfb215d77ad02addd0061ce39f997581251cdcb0a2495a 791125b901767b9dec40e04f6865181a3276395b.zip" |