wok-next view chillispot/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | eb8067417980 |
children | 757d032c55c7 |
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 BUILD_DEPENDS="gfortran"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/) defined (/) || defined (/' src/tun.c
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr $fs/etc/init.d $fs/var/lib/chilli/
30 cp -a $install/usr/sbin $fs/usr
31 cp $src/doc/chilli.conf $fs/etc
32 cp $stuff/chilli $fs/etc/init.d
33 }