1 pkgname=coova-chilli-arch
4 pkgdesc='an open-source software access controller'
6 url="http://coova.org/CoovaChilli"
8 depends=('curl' 'libpcap' 'openssl')
11 replaces=(coova-chilli)
12 source=(http://ap.coova.org/chilli/coova-chilli-${pkgver}.tar.gz
15 backup=('etc/chilli.conf')
17 cd "${srcdir}/coova-chilli-${pkgver}"
19 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
23 --enable-largelimits \
25 --enable-chilliredir \
26 --enable-chilliproxy \
27 --enable-chilliscript \
31 patch -Np1 -i ../patch
33 make DESTDIR="${pkgdir}" install
34 rm -rf ${pkgdir}/etc/init.d
35 install -D $srcdir/coova-chilli $pkgdir/etc/rc.d/coova-chilli
36 chmod +x $pkgdir/etc/rc.d/coova-chilli
39 md5sums=('e8fa70a52d9c9f4e8addbe8df09c56db'
40 '01e6e06bb022023710303109ca35eb0b'
41 'b416def2a56b69f0e5c3b5b09703cda9')