wok-stable view chillispot/receipt @ rev 9618
Fixed tazdrop to us tazwok get-src slitaz-tools --target=src. This way its not downloading every time its build.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Apr 17 20:36:34 2011 +0000 (2011-04-17) |
parents | cf2ce55f4ea3 |
children | a1644dbcf632 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.chillispot.info/"
10 WGET_URL="${WEB_SITE}download/$TARBALL"
11 CONFIG_FILES="/etc/chilli.conf"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i 's/) defined (/) || defined (/' src/tun.c
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \
20 make && make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr $fs/etc/init.d $fs/var/lib/chilli/
27 cp -a $_pkg/usr/sbin $fs/usr
28 cp $src/doc/chilli.conf $fs/etc
29 cp stuff/chilli $fs/etc/init.d
30 }