wok-next view coova-chilli/receipt @ rev 20128
Up celestia (1.6.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 31 11:58:18 2017 +0100 (2017-10-31) |
parents | ca61db166b09 |
children | e6615350078d |
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 perl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|return -1; safe_close|return -1;\n safe_close|' src/redir.c
20 sed -i 's|if (.\(safe_write.*\)) /. error ./|\1|' src/garden.c
21 ./configure --prefix=/usr --mandir=/usr/share/man \
22 --infodir=/usr/share/info \
23 --sysconfdir=/etc --localstatedir=/var --enable-largelimits \
24 --enable-binstatusfile --enable-statusfile --enable-chilliproxy \
25 --enable-chilliradsec --enable-chilliredir --with-openssl --with-curl \
26 --with-poll --enable-dhcpopt --enable-sessgarden --enable-dnslog \
27 --enable-ipwhitelist --enable-redirdnsreq --enable-miniconfig \
28 --enable-libjson --enable-layer3 --enable-proxyvsa --enable-miniportal \
29 --enable-chilliscript --enable-eapol --enable-uamdomainfile \
30 --enable-modules --enable-multiroute \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib/coova-chilli
40 cp -a $install/usr/lib/coova-chilli/*.so* $fs/usr/lib/
41 cp -a $install/usr/lib/*.so* $fs/usr/lib/
42 cp -a $install/usr/sbin $fs/usr/
43 cp -a $install/etc $fs/
44 }