# Template file for 'bonnie++'
pkgname=bonnie++
version=1.97
revision=2
wrksrc="${pkgname}-${version}.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=44f5a05937648a6526ba99354555d7d15f2dd392e55d3436f6746da6f6c35982

do_install() {
	make prefix=${DESTDIR}/usr install
	mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
	vmkdir usr/share/man/man1
	vmkdir usr/share/man/man8
	install -m644 *.1 ${DESTDIR}/usr/share/man/man1
	install -m644 *.8 ${DESTDIR}/usr/share/man/man8
}
