blob: 080d2543a4cd6d846d044b8dce291a1431d6f61a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
pkgname=coova-chilli-git
pkgver=r2.fdcae6a
pkgrel=1
pkgdesc='an open-source software access controller'
arch=('any')
url="https://coova.github.io/"
license=('GPL')
depends=('curl' 'libpcap')
optdepends=('python')
makedepends=('git' 'autoconf' 'make' 'gcc' 'm4' 'gengetopt')
md5sums=('SKIP')
options=(!libtool)
source=("$pkgname"::'git+https://github.com/coova/coova-chilli')
backup=('etc/chilli.conf')
package() {
msg "Starting build..."
cd "$srcdir/$pkgname"
sh bootstrap
./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --localstatedir=/var \
--enable-statusfile \
--enable-sessionstate \
--enable-sessionid \
--disable-static \
--enable-miniportal
make
make DESTDIR="${pkgdir}" install
rm -rf ${pkgdir}/etc/init.d
}
pkgver() {
cd "$srcdir"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
|