diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/siege |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/siege')
-rw-r--r-- | community/siege/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/siege/PKGBUILD b/community/siege/PKGBUILD new file mode 100644 index 000000000..3910b7133 --- /dev/null +++ b/community/siege/PKGBUILD @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Florian Pritz <flo@xinu.at> +# Contributor: Sven Kauber <celeon@gmail.com> + +pkgname=siege +pkgver=2.70 +pkgrel=2 +arch=('i686' 'x86_64') +license=('GPL') +pkgdesc="An http regression testing and benchmarking utility" +url="http://www.joedog.org/JoeDog/Siege" +depends=('openssl') +options=(!libtool) +source=("ftp://sid.joedog.org/pub/siege/${pkgname}-${pkgver}.tar.gz") +backup=(etc/siegerc etc/urls.txt) + +build() { + cd "${srcdir}/$pkgname-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man + make +} + +package() { + cd "${srcdir}/$pkgname-$pkgver" + + install -d -m755 "$pkgdir/etc" + install -d -m755 "$pkgdir/usr/share" + make DESTDIR="$pkgdir" sysconfdir="$pkgdir/etc" install + sed -i 's/^# file =$/file = \/etc\/urls.txt/' "$pkgdir/etc/siegerc" +} + +md5sums=('835c7a0606851357ebf03084ff546310') |