void-packages/srcpkgs/unixbench/template

22 lines
589 B
Bash

# Template file for 'unixbench'
pkgname=unixbench
version=5.1.3.20161028
revision=2
_commit=aeed2ba662a9220089aee33be4123481dab0b524
wrksrc="byte-$pkgname-$_commit"
build_wrksrc="UnixBench"
build_style=gnu-makefile
depends="perl"
short_desc="BYTE UNIX benchmark suite"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2.0-only"
homepage="https://github.com/kdlucas/byte-unixbench"
distfiles="$homepage/archive/$_commit.tar.gz"
checksum=48e6ed4e705c86e5481ddf0c0d5ef2850f84a0da7050d438dbfe1052c81fd93f
patch_args="-p1"
do_build() {
export CFLAGS=$CFLAGS
make CC=$CC OPTON=
}