diff options
author | Oleg Titov <oleg.titov@gmail.com> | 2018-12-31 12:29:16 -0600 |
---|---|---|
committer | Andy Postnikov <apostnikov@gmail.com> | 2019-02-01 17:48:59 +0200 |
commit | 73358c47f3874f73be6ffe2fa952d33104606cca (patch) | |
tree | 1c608194ab65dd55bc4f175ce3cbd7f6183737ec /testing/lzbench | |
parent | 72a69a27e3affef923d8e9e6231f635a9e3da9ad (diff) | |
download | aports-73358c47f3874f73be6ffe2fa952d33104606cca.tar.bz2 aports-73358c47f3874f73be6ffe2fa952d33104606cca.tar.xz |
testing/lzbench: new aport
https://github.com/inikep/lzbench
lzbench is an in-memory benchmark of open-source LZ77/LZSS/LZMA compressors
Diffstat (limited to 'testing/lzbench')
-rw-r--r-- | testing/lzbench/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/lzbench/APKBUILD b/testing/lzbench/APKBUILD new file mode 100644 index 0000000000..bbd85dd138 --- /dev/null +++ b/testing/lzbench/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Oleg Titov <oleg.titov@gmail.com> +# Maintainer: Oleg Titov <oleg.titov@gmail.com> +pkgname=lzbench +pkgver=1.7.3 +pkgrel=0 +pkgdesc="lzbench is an in-memory benchmark of open-source LZ77/LZSS/LZMA compressors" +url="https://github.com/inikep/lzbench" +arch="x86_64 x86" +license="GPL zlib MIT Unlicense BSD Apache-2.0 CDDL CC0 custom" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/inikep/lzbench/archive/v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver/" + +build() { + cd "$builddir" + make +} + +check() { + cd "$builddir" + ./lzbench +} + +package() { + cd "$builddir" + install -Dm 755 lzbench "$pkgdir"/usr/bin/lzbench + + install -Dm 644 -t "$pkgdir"/usr/share/doc/$pkgname/ README.md +} + +sha512sums="affd289492e00c83e26ec1a126bd5479a45fc4710471184e2234a1d7247e85e3652816e691c035174ca3fe4708979691bfbcb1e6bd196de452cc50af31ddeae8 lzbench-1.7.3.tar.gz" |