summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e842c8d64e1ecc7ad336f469e97750d9b4a0a50f (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
# Maintainer: copie <admin@copie.cn>

pkgname=webbench-copie
pkgver=1.5
pkgrel=2
pkgdesc="A very simple tool for benchmarking WWW or proxy servers. Uses fork() for simulating multiple clients"
arch=(i686 x86_64)
url="http://home.tiscali.cz/~cz210552/webbench.html"
license=('GPL')
makedepends=('ctags')
source=(http://home.tiscali.cz/~cz210552/distfiles/webbench-1.5.tar.gz)
md5sums=('8d02ef80b6478f33ef9bd8849c867cf3')

build() {
    cd $startdir/src/webbench-$pkgver
    sed -i  's/CFLAGS?=/CFLAGS=/' Makefile
    sed -i 's/CFLAGS=.*/& -I\/usr\/include\/tirpc/' Makefile
    make -f Makefile
}
package(){
    cd $startdir/src/webbench-$pkgver
    mkdir -p $pkgdir/usr/local/bin
    mkdir -p $pkgdir/usr/local/man/man1
    make DESTDIR="$pkgdir" install
}