2020-01-06 10:26:30 +00:00
|
|
|
# Maintainer: Martijn Brixit <martijn@brixit.nl>
|
2019-01-14 00:32:15 +00:00
|
|
|
pkgname=unixbench
|
2019-01-21 23:52:36 +00:00
|
|
|
pkgver=5.1.3_git20180129
|
2019-02-09 16:12:30 +00:00
|
|
|
_commit="070030e09f6effdf0c6721e8fcc3a5c6fb5bed1a"
|
2020-01-06 10:26:30 +00:00
|
|
|
pkgrel=1
|
2019-01-14 00:32:15 +00:00
|
|
|
pkgdesc="The original BYTE UNIX benchmark suite"
|
|
|
|
url="https://github.com/kdlucas/byte-unixbench"
|
2022-10-25 07:07:18 +00:00
|
|
|
# riscv64: doesn't build
|
|
|
|
arch="all !riscv64"
|
2020-01-06 10:26:30 +00:00
|
|
|
license="GPL-2.0-or-later"
|
2019-01-14 00:32:15 +00:00
|
|
|
depends="perl make"
|
|
|
|
options="!check"
|
|
|
|
source="
|
2020-01-06 10:26:30 +00:00
|
|
|
$pkgname-$_commit.tar.gz::https://github.com/kdlucas/byte-unixbench/archive/$_commit.tar.gz
|
2019-01-14 00:32:15 +00:00
|
|
|
ubench
|
|
|
|
"
|
2020-01-06 10:26:30 +00:00
|
|
|
builddir="$srcdir/byte-unixbench-$_commit/UnixBench"
|
2019-01-14 00:32:15 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-01-06 10:26:30 +00:00
|
|
|
install -Dm775 "$srcdir"/ubench "$pkgdir"/usr/bin/ubench
|
|
|
|
install -Dm775 Run "$pkgdir"/usr/share/unixbench/Run
|
2019-01-14 00:32:15 +00:00
|
|
|
|
2020-01-06 10:26:30 +00:00
|
|
|
cp -a pgms testdir Makefile src "$pkgdir"/usr/share/unixbench
|
2019-01-14 00:32:15 +00:00
|
|
|
}
|
|
|
|
|
2019-02-09 16:11:49 +00:00
|
|
|
sha512sums="ca4b7ab21eaacddcb99f9237998c42e2179d8e136e23dc0e4d9b2774f460588bc1851dbf0cdb9ad99bd485eb67434a74408f878f76a8ea5672615495ea074124 unixbench-070030e09f6effdf0c6721e8fcc3a5c6fb5bed1a.tar.gz
|
2019-01-14 00:32:15 +00:00
|
|
|
91590bfaac3b118ad9a7ec66200ecc7b5ff88b84f5e8552c6b30fcc4436669eb4467d6b9a89d0be8682903e88b843fc4e40e3c7f90406c398449edb187ad6771 ubench"
|