# Contributor: William Pitcock # Maintainer: William Pitcock pkgname=ioping pkgver=0.7 pkgrel=0 pkgdesc="A simple disk i/o latency measurement tool" url="http://code.google.com/p/ioping" arch="all" license="GPL2+" depends="" depends_dev="" makedepends="$depends_dev" install="" subpackages="$pkgname-doc" source="http://ioping.googlecode.com/files/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" PREFIX="/usr" install || return 1 } md5sums="5fea9fb35c38902e0c1fcb7ffe203931 ioping-0.7.tar.gz" sha256sums="234e28eeb256e77756a077604b48d59f206a5288c3da6f207629e783f54b13b0 ioping-0.7.tar.gz" sha512sums="0f7140e6cac1d87f54c2b20323ec691cf0e54f246497e38cb03b1161943f4f872536f26fc6a30f304a375c192af7dfce67f03083f93a78c33c1cd0cd40787e74 ioping-0.7.tar.gz"