25 lines
692 B
Bash
25 lines
692 B
Bash
# Template file for 'bonnie++'
|
|
pkgname=bonnie++
|
|
version=1.98
|
|
revision=1
|
|
build_style=gnu-configure
|
|
short_desc="Hard Drive and Filesystem benchmark utility"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="http://www.coker.com.au/bonnie++/"
|
|
distfiles="http://www.coker.com.au/bonnie++/bonnie++-${version}.tgz"
|
|
checksum=6e0bcbc08b78856fd998dd7bcb352d4615a99c26c2dc83d5b8345b102bad0b04
|
|
|
|
post_extract() {
|
|
sed -i -e 's/sbin/bin/g' \
|
|
-e '/-o getc_putc_helper/s/CXX/LINK/' \
|
|
-e '/$(LINK)/s/$/ $(LDFLAGS)/' \
|
|
-e 's#@mandir@#$(eprefix)/share/man#g' \
|
|
Makefile.in
|
|
}
|
|
pre_build() {
|
|
export MORECFLAGS="$CFLAGS"
|
|
}
|
|
do_install() {
|
|
make prefix=${DESTDIR}/usr install
|
|
}
|