summaryrefslogtreecommitdiffstats
path: root/siege/PKGBUILD
blob: dfe855d408c9d4751870782955cbc9bd9cc844d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Contributor: Florian Pritz <f-p@gmx.at>
# Contributor: Sven Kauber <celeon@gmail.com>

pkgname=siege
pkgver=2.70
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')
source=("ftp://sid.joedog.org/pub/siege/${pkgname}-${pkgver}.tar.gz")

build() {
  mkdir -p ${pkgdir}/usr
  cd ${srcdir}/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  install -d -m755 "$pkgdir/etc"
  make prefix=${pkgdir} install
  mv ${pkgdir}/{bin,man} ${pkgdir}/usr/
  find ${pkgdir} -name '*.la' -delete;
}
md5sums=('835c7a0606851357ebf03084ff546310')