summaryrefslogtreecommitdiff
path: root/community/bonnie++/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-04-18 21:51:20 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-04-18 21:51:20 -0300
commitf0a7e44c0037beb1c6cf1c2e25d8de1a9e9393c8 (patch)
tree6dda6d4856970e43904fc1e89cbeeb7157ea9ade /community/bonnie++/PKGBUILD
parent78538de96d5d6d9516ae18b68d4c62654eea5278 (diff)
parent6ca29e0c62691c1f3120dda0f6b59dbb86cc9295 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/cppcheck/PKGBUILD
Diffstat (limited to 'community/bonnie++/PKGBUILD')
-rw-r--r--community/bonnie++/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/bonnie++/PKGBUILD b/community/bonnie++/PKGBUILD
new file mode 100644
index 000000000..55800b024
--- /dev/null
+++ b/community/bonnie++/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: jelle van der Waa <jelle@vdwaa.nl>
+# Contributor: eric <eric@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=bonnie++
+pkgver=1.03e
+pkgrel=4
+pkgdesc="Based on the Bonnie hard drive benchmark by Tim Bray"
+arch=('i686' 'x86_64')
+url="http://www.coker.com.au/bonnie++/"
+license=('GPL')
+depends=('perl')
+source=(http://www.coker.com.au/bonnie++/$pkgname-$pkgver.tgz)
+sha256sums=('cb3866116634bf65760b6806be4afa7e24a1cad6f145c876df8721f01ba2e2cb')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ sed -i "s:CFLAGS=-O2 -DNDEBUG \$(WFLAGS) \$(MORECFLAGS):CFLAGS=${CFLAGS}:" Makefile
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make prefix="${pkgdir}/usr" install
+}
+