wok-current view coova-chilli/receipt @ rev 25379

updated uget (2.2.1 -> 2.2.3)
author Hans-G?nter Theisgen
date Sat Jul 30 15:37:46 2022 +0100 (2022-07-30)
parents 2a0479881723
children
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="https://coova.github.io/coova-chilli/$TARBALL"
13 DEPENDS="libssl curl libidn"
14 BUILD_DEPENDS="openssl-dev curl-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/coova/coova-chilli/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr --mandir=/usr/share/man \
27 --infodir=/usr/share/info \
28 --sysconfdir=/etc --localstatedir=/var --enable-largelimits \
29 --enable-binstatusfile --enable-statusfile --enable-chilliproxy \
30 --enable-chilliradsec --enable-chilliredir --with-openssl --with-curl \
31 --with-poll --enable-dhcpopt --enable-sessgarden --enable-dnslog \
32 --enable-ipwhitelist --enable-redirdnsreq --enable-miniconfig \
33 --enable-libjson --enable-layer3 --enable-proxyvsa --enable-miniportal \
34 --enable-chilliscript --enable-eapol --enable-uamdomainfile \
35 --enable-modules --enable-multiroute \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib/coova-chilli
45 cp -a $install/usr/lib/coova-chilli/*.so* $fs/usr/lib/
46 cp -a $install/usr/lib/*.so* $fs/usr/lib/
47 cp -a $install/usr/sbin $fs/usr/
48 cp -a $install/etc $fs/
49 }