1 # Contributor: Vasco Costa <vasco dot costa at geekslot dot com>
5 pkgdesc="Simple proxy server with special features for use with dial-up internet links"
7 url="http://www.gedanken.demon.co.uk/wwwoffle/"
10 backup=('etc/wwwoffle/wwwoffle.conf')
11 install=$pkgname.install
12 source=(http://www.gedanken.demon.co.uk/download-wwwoffle/$pkgname-$pkgver.tgz)
13 md5sums=('39f2dfcf421e0f33286f41043c3075ea')
16 cd $startdir/src/$pkgname-$pkgver
17 ./configure --prefix=/usr
19 make DESTDIR=$startdir/pkg install
20 install -D -m755 $startdir/wwwoffle $startdir/pkg/etc/rc.d/wwwoffle
21 install -D -m644 $startdir/wwwoffle.conf.d $startdir/pkg/etc/conf.d/wwwoffle
22 sed -i -e 's/^#run-uid.*/ run-uid = wwwoffle/' \
23 $startdir/pkg/etc/wwwoffle/wwwoffle.conf
24 sed -i -e 's/^#run-gid.*/ run-gid = wwwoffle/' \
25 $startdir/pkg/etc/wwwoffle/wwwoffle.conf