diff options
author | Ehud Kaldor <ehud@UnfairFunction.org> | 2019-05-23 15:40:16 -0700 |
---|---|---|
committer | TBK <tbk@jjtc.eu> | 2019-05-24 00:58:13 +0200 |
commit | bca0f57014d1b128434215f47ff2097404ead978 (patch) | |
tree | 3b55af2aebe1bdbacfea7fe4743fdcb1fbe1f4e2 /testing/liberasurecode/APKBUILD | |
parent | 2c4629c2d982cfa7684d65e4fd8c010d7974eb44 (diff) | |
download | aports-bca0f57014d1b128434215f47ff2097404ead978.tar.bz2 aports-bca0f57014d1b128434215f47ff2097404ead978.tar.xz |
testing/liberasurecode: new aport
Closes: GH-7995
Diffstat (limited to 'testing/liberasurecode/APKBUILD')
-rw-r--r-- | testing/liberasurecode/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/liberasurecode/APKBUILD b/testing/liberasurecode/APKBUILD new file mode 100644 index 0000000000..a07b874054 --- /dev/null +++ b/testing/liberasurecode/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Ehud Kaldor <ehud@unfairfunction.org> +# Maintainer: Ehud Kaldor <ehud@unfairfunction.org> +pkgname=liberasurecode +pkgver=1.6.0 +pkgrel=0 +pkgdesc="Erasure Code API library written in C with pluggable Erasure Code backends" +url="https://github.com/openstack/liberasurecode" +arch="all" +license="BSD-2-Clause" +makedepends="autoconf automake libtool zlib-dev" +subpackages="$pkgname-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/openstack/liberasurecode/archive/$pkgver.tar.gz" + +prepare() { + default_prepare + ./autogen.sh +} + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --disable-static + make +} + +check() { + make test +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="168fb75f2e329e79d6cbbc5d97e7a60963f742d9cce6e492a3c845ef77acc204b00a34292e847ae0c165177fa38a8563de2428d01f8f47364af4fb1e8f4d9517 liberasurecode-1.6.0.tar.gz" |