wok-current annotate coova-chilli/receipt @ rev 24886
updated mcabber-help (0.9.10 -> 1.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 01 07:55:45 2022 +0100 (2022-04-01) |
parents | 8e449fe1df2e |
children | 22471cbea549 |
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@24436 | 16 # What is the latest version available today? |
pascal@24436 | 17 current_version() |
pascal@24436 | 18 { |
pascal@24436 | 19 wget -O - https://github.com/coova/coova-chilli/releases 2>/dev/null | \ |
pascal@24436 | 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24436 | 21 } |
pascal@24436 | 22 |
pascal@18274 | 23 # Rules to configure and make the package. |
pascal@18274 | 24 compile_rules() |
pascal@18274 | 25 { |
pascal@18274 | 26 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@18274 | 27 --infodir=/usr/share/info \ |
pascal@18274 | 28 --sysconfdir=/etc --localstatedir=/var --enable-largelimits \ |
pascal@18274 | 29 --enable-binstatusfile --enable-statusfile --enable-chilliproxy \ |
pascal@18274 | 30 --enable-chilliradsec --enable-chilliredir --with-openssl --with-curl \ |
pascal@18274 | 31 --with-poll --enable-dhcpopt --enable-sessgarden --enable-dnslog \ |
pascal@18274 | 32 --enable-ipwhitelist --enable-redirdnsreq --enable-miniconfig \ |
pascal@18274 | 33 --enable-libjson --enable-layer3 --enable-proxyvsa --enable-miniportal \ |
pascal@18274 | 34 --enable-chilliscript --enable-eapol --enable-uamdomainfile \ |
pascal@18274 | 35 --enable-modules --enable-multiroute \ |
pascal@18274 | 36 $CONFIGURE_ARGS && |
pascal@18274 | 37 make && |
pascal@18274 | 38 make DESTDIR=$DESTDIR install |
pascal@18274 | 39 } |
pascal@18274 | 40 |
pascal@18274 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18274 | 42 genpkg_rules() |
pascal@18274 | 43 { |
pascal@18274 | 44 mkdir -p $fs/usr/lib/coova-chilli |
pascal@18274 | 45 cp -a $install/usr/lib/coova-chilli/*.so* $fs/usr/lib/ |
pascal@18274 | 46 cp -a $install/usr/lib/*.so* $fs/usr/lib/ |
pascal@18274 | 47 cp -a $install/usr/sbin $fs/usr/ |
pascal@18274 | 48 cp -a $install/etc $fs/ |
pascal@18274 | 49 } |