25 lines
690 B
Bash
25 lines
690 B
Bash
# Template file for 'bonnie++'
|
|
pkgname=bonnie++
|
|
version=1.97.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
short_desc="Hard Drive and Filesystem benchmark utility"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://www.coker.com.au/bonnie++/"
|
|
distfiles="http://www.coker.com.au/bonnie++/experimental/bonnie++-${version}.tgz"
|
|
checksum=3f34a4c52ae9b2c3d493af8f794ba18cbf6732e9b76c3a4fa64549d95d914ce3
|
|
|
|
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)&/g' \
|
|
Makefile.in
|
|
}
|
|
pre_build() {
|
|
export MORECFLAGS="$CFLAGS"
|
|
}
|
|
do_install() {
|
|
make prefix=${DESTDIR}/usr install
|
|
}
|