diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/siege | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
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..77369aeeb --- /dev/null +++ b/community/siege/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 91394 2013-05-21 16:28:38Z bluewind $ +# Maintainer: Florian Pritz <flo@xinu.at> +# Contributor: Sven Kauber <celeon@gmail.com> + +pkgname=siege +pkgver=3.0.1 +pkgrel=1 +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=("http://www.joedog.org/pub/siege/siege-${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" install + sed -i 's/^# file =$/file = \/etc\/urls.txt/' "$pkgdir/etc/siegerc" +} + +md5sums=('3401d9c8a02f227b63a0d10e2718ab37') |