blob: c7df4db6ce01f43f01c23d7b3e0ffd2ae51ecc89 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=httest
pkgver=2.4.12
pkgrel=0
pkgdesc="A script based tool for testing and benchmarking web applications"
url="http://htt.sourceforge.net"
arch="all"
license="ASL 2.0"
depends=""
depends_dev=""
makedepends="apr-dev apr-util-dev pcre-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/project/htt/htt2.4/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="6ef11879e714739b55ebc314c9ed889b httest-2.4.12.tar.gz"
sha256sums="fd18cdc996c199d56d77e9355c07e1e1701d5550c03fbecb06a255ce72d79bd1 httest-2.4.12.tar.gz"
sha512sums="a8253b7eb5fa544f279cba5825d1485f571398ec4646c012ed697fe870e42809bf6f14454b865ad59a50864cb5367c53afc614941318e130d9948f1499c2985f httest-2.4.12.tar.gz"
|