wok-current view chillispot/receipt @ rev 1947
nscd: chmod +x /etc/init.d/nscd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 28 21:46:02 2008 +0000 (2008-12-28) |
parents | |
children | b366409d3396 |
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 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \
19 make && make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr $fs/etc/init.d $fs/var/lib/chilli/
26 cp -a $_pkg/usr/sbin $fs/usr
27 cp $src/doc/chilli.conf $fs/etc
28 cp stuff/chilli $fs/etc/init.d
29 }