wok view chillispot/receipt @ rev 24586

updated gawk (5.0.1 -> 5.1.1)
author Hans-G?nter Theisgen
date Mon Feb 28 09:01:30 2022 +0100 (2022-02-28)
parents eb8067417980
children
line source
1 # SliTaz package receipt.
3 PACKAGE="chillispot"
4 VERSION="1.1.0"
5 CATEGORY="network"
6 SHORT_DESC="Captive portal or wireless LAN access point controller."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.chillispot.info/"
11 WGET_URL="${WEB_SITE}download/$TARBALL"
12 CONFIG_FILES="/etc/chilli.conf"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - http://www.chillispot.org/download.html 2>/dev/null | \
18 sed '/Released/!d;s|.*hillispot ||;s| Released.*||;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 sed -i 's/) defined (/) || defined (/' src/tun.c
26 ./configure --prefix=/usr --infodir=/usr/share/info \
27 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr $fs/etc/init.d $fs/var/lib/chilli/
35 cp -a $install/usr/sbin $fs/usr
36 cp $src/doc/chilli.conf $fs/etc
37 cp $stuff/chilli $fs/etc/init.d
38 }