wok view coova-chilli/receipt @ rev 18274
Add coova-chilli
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 07 18:14:02 2015 +0200 (2015-08-07) |
parents | |
children | 8e449fe1df2e |
line source
1 # SliTaz package receipt.
3 PACKAGE="coova-chilli"
4 VERSION="1.3.0"
5 CATEGORY="network"
6 SHORT_DESC="Captive portal or wireless LAN access point controller."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.coova.org/CoovaChilli"
11 WGET_URL="http://ap.coova.org/chilli/$TARBALL"
13 DEBENDS="libssl curl libidn"
14 BUILD_DEPENDS="openssl-dev curl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --prefix=/usr --mandir=/usr/share/man \
20 --infodir=/usr/share/info \
21 --sysconfdir=/etc --localstatedir=/var --enable-largelimits \
22 --enable-binstatusfile --enable-statusfile --enable-chilliproxy \
23 --enable-chilliradsec --enable-chilliredir --with-openssl --with-curl \
24 --with-poll --enable-dhcpopt --enable-sessgarden --enable-dnslog \
25 --enable-ipwhitelist --enable-redirdnsreq --enable-miniconfig \
26 --enable-libjson --enable-layer3 --enable-proxyvsa --enable-miniportal \
27 --enable-chilliscript --enable-eapol --enable-uamdomainfile \
28 --enable-modules --enable-multiroute \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib/coova-chilli
38 cp -a $install/usr/lib/coova-chilli/*.so* $fs/usr/lib/
39 cp -a $install/usr/lib/*.so* $fs/usr/lib/
40 cp -a $install/usr/sbin $fs/usr/
41 cp -a $install/etc $fs/
42 }