AppArmor: new dependency
[mirrors/ArchLinux-Packages.git] / thttpd / PKGBUILD
CommitLineData
209feeb0
H
1# $Id: PKGBUILD 26493 2009-02-08 05:39:36Z eric $
2# Maintainer: Damir Perisa <damir.perisa@bluewin.ch>
3
4pkgname=thttpd
5pkgver=2.25b
6pkgrel=2
7pkgdesc="tiny/turbo/throttling HTTP server"
8arch=(i686 x86_64)
9url="http://www.acme.com/software/thttpd/"
10license=('BSD')
11depends=('bash')
12backup=('usr/www/thttpd_config')
13conflicts=('apache')
14source=(http://www.acme.com/software/thttpd/$pkgname-$pkgver.tar.gz \
15 thttpd thttpd_config LICENSE)
16md5sums=('156b249b3b0bcd48b06badd2db0d56c5' '256b995472c8f0fea235b46fdd97e6ec'\
17 'b899c226895dcaa3fb131e98720843c1' '0c5762c2c34dcbe9eb18815516502872')
18
19build() {
20 cd $startdir/src/$pkgname-$pkgver
21 ./configure --prefix=/usr --mandir=/usr/share/man || return 1
22 make || return 1
23 install -d $startdir/pkg/usr/sbin
24 install -d $startdir/pkg/usr/share/man/man{1,8}
25 install -d $startdir/pkg/usr/www/data/log
26 make BINDIR=$startdir/pkg/usr/sbin \
27 MANDIR=$startdir/pkg/usr/share/man WEBDIR=$startdir/pkg/usr/www \
28 WEBGROUP=root install || return 1
29 chown root:root $startdir/pkg/usr/share/man/man8/thttpd.8
30 install -D -m755 ../thttpd $startdir/pkg/etc/rc.d/thttpd
31 install -D -m755 ../thttpd_config $startdir/pkg/usr/www/thttpd_config
32 install -D -m644 ../LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
33}
34
This page took 0.110479 seconds and 4 git commands to generate.