wok-next view chillispot/receipt @ rev 17559
slim: why force base theme on update
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Thu Feb 05 21:41:45 2015 -0500 (2015-02-05) |
parents | a1644dbcf632 |
children | 8f50006d2661 |
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 }