1 # Contributor: Luke McCarthy <luke@iogopro.co.uk>
6 pkgdesc="Lightweight high performance web server"
7 url="http://www.boa.org/"
10 makedepends=('gcc' 'automake' 'bison' 'flex')
13 backup=(etc/boa/boa.conf var/log/boa/access_log var/log/boa/error_log)
15 source=(http://www.boa.org/$pkgname-$pkgver.tar.gz compat.h.diff boa.conf.diff boa mime.types)
16 md5sums=('c8d6f46f9aa60909f171529068813fe0' '622baa6748c42cfb6e2d111ca0f9e5a4' '4b88ddace9c287879001a3041012ca06' '9417a7fc792248caa9038e4bae4670bd' '8b6624bc0fe35464c41bc46ef385aded')
19 cd $startdir/src/$pkgname-$pkgver/src
20 patch compat.h $startdir/src/compat.h.diff
21 patch ../boa.conf $startdir/src/boa.conf.diff
22 ./configure --prefix=/usr && make
23 install -d $startdir/pkg/usr/sbin
24 install -d $startdir/pkg/usr/lib/boa
25 install -d $startdir/pkg/etc/rc.d
26 install -d $startdir/pkg/etc/boa
27 install -d $startdir/pkg/usr/man/man8
28 install -d $startdir/pkg/var/log/boa
29 install -d $startdir/pkg/var/www
30 install boa $startdir/pkg/usr/sbin
31 install boa_indexer $startdir/pkg/usr/lib/boa
32 install $startdir/src/boa $startdir/pkg/etc/rc.d
33 install -m 644 ../boa.conf $startdir/pkg/etc/boa
34 install -m 644 $startdir/src/mime.types $startdir/pkg/etc/boa
35 install -m 644 ../docs/boa.8 $startdir/pkg/usr/man/man8