wok annotate coova-chilli/receipt @ rev 25577

Up nimrod (1.6.12) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 13 18:02:59 2023 +0000 (18 months ago)
parents 2a0479881723
children fe1b5660fdd1
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@25028 11 WGET_URL="https://coova.github.io/coova-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 }