mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 19:14:48 +02:00
- Ref https://github.com/inikep/lzbench/releases/tag/v2.0.1 - Remove loongarch64.patch (aded upstream)
27 lines
935 B
Text
27 lines
935 B
Text
# Contributor: Oleg Titov <oleg.titov@gmail.com>
|
|
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
|
|
pkgname=lzbench
|
|
pkgver=2.0.1
|
|
pkgrel=0
|
|
pkgdesc="lzbench is an in-memory benchmark of open-source LZ77/LZSS/LZMA compressors"
|
|
url="https://github.com/inikep/lzbench"
|
|
arch="all !x86 !s390x !riscv64"
|
|
license="GPL zlib MIT Unlicense BSD Apache-2.0 CDDL CC0 custom"
|
|
options="!check" # No test suite from upstream
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/inikep/lzbench/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-$pkgver/"
|
|
|
|
build() {
|
|
make MOREFLAGS="$CFLAGS -D_DEFAULT_SOURCE -Wno-int-conversion"
|
|
}
|
|
|
|
package() {
|
|
install -Dm 755 lzbench "$pkgdir"/usr/bin/lzbench
|
|
|
|
install -Dm 644 -t "$pkgdir"/usr/share/doc/$pkgname/ README.md
|
|
}
|
|
|
|
sha512sums="
|
|
4d8b3424a05750b3b99bd28e91d1040a34e2fbec0ff651c63b07d53986f55c4bb56ef930baf996984e833e320dd124a96cd372d4618dd2fe551df234ba0b11ce lzbench-2.0.1.tar.gz
|
|
"
|