updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / coova-chilli-arch / PKGBUILD
blob37212b3ca1df912b57b90cf79e847894ebc4601c
1 pkgname=coova-chilli-arch
2 pkgver=1.2.8
3 pkgrel=4
4 pkgdesc='an open-source software access controller'
5 arch=('i686' 'x86_64')
6 url="http://coova.org/CoovaChilli"
7 license=('GPL')
8 depends=('curl' 'libpcap' 'openssl')
9 optdepends=('python2')
10 options=(!libtool)
11 replaces=(coova-chilli)
12 source=(http://ap.coova.org/chilli/coova-chilli-${pkgver}.tar.gz
13 patch
14 coova-chilli)
15 backup=('etc/chilli.conf')
16 build() {
17     cd "${srcdir}/coova-chilli-${pkgver}"
18     
19     ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
20         --enable-statusfile \
21         --disable-static \
22         --enable-shared \
23         --enable-largelimits \
24         --enable-miniportal \
25         --enable-chilliredir \
26         --enable-chilliproxy \
27         --enable-chilliscript \
28         --with-poll \
29         --with-openssl \
30         --enable-chilliradsec 
31     patch -Np1 -i ../patch
32     make
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')