wok-next view chillispot/receipt @ rev 20956

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Sep 05 00:08:37 2018 +0300 (2018-09-05)
parents 757d032c55c7
children d5aab818505e
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.chillispot.info/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}download/$TARBALL"
14 BUILD_DEPENDS="gfortran"
16 compile_rules() {
17 sed -i 's/) defined (/) || defined (/' src/tun.c
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make DESTDIR=$DESTDIR install || return 1
24 install -Dm644 $src/doc/chilli.conf $install/etc/chilli.conf
25 install -Dm755 $stuff/chilli $install/etc/init.d/chilli
26 }
28 genpkg_rules() {
29 copy @std
30 CONFIG_FILES="/etc/chilli.conf"
31 }