wok view chillispot/receipt @ rev 15579

Remove cromfs-or-squashfs; add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 30 10:06:29 2013 +0000 (2013-11-30)
parents a1644dbcf632
children 83b97236db32
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 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/) defined (/) || defined (/' src/tun.c
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \
21 make && make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr $fs/etc/init.d $fs/var/lib/chilli/
28 cp -a $install/usr/sbin $fs/usr
29 cp $src/doc/chilli.conf $fs/etc
30 cp $stuff/chilli $fs/etc/init.d
31 }