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