wok view chillispot/receipt @ rev 16678
Add virtual packages Qt4, libcairo-compmgr, libpurple
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 16 09:47:35 2014 +0000 (2014-05-16) |
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 }