wok-6.x annotate chillispot/receipt @ rev 7980

cups: switch openssl depends to libssl
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Jan 17 19:22:47 2011 +0100 (2011-01-17)
parents cf2ce55f4ea3
children a1644dbcf632
rev   line source
pascal@1325 1 # SliTaz package receipt.
pascal@1325 2
pascal@1325 3 PACKAGE="chillispot"
pascal@1325 4 VERSION="1.1.0"
pascal@1325 5 CATEGORY="network"
pascal@1325 6 SHORT_DESC="Captive portal or wireless LAN access point controller."
pascal@1325 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1325 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1325 9 WEB_SITE="http://www.chillispot.info/"
pascal@1325 10 WGET_URL="${WEB_SITE}download/$TARBALL"
pascal@1325 11 CONFIG_FILES="/etc/chilli.conf"
pascal@1325 12
pascal@1325 13 # Rules to configure and make the package.
pascal@1325 14 compile_rules()
pascal@1325 15 {
pascal@1325 16 cd $src
pascal@4201 17 sed -i 's/) defined (/) || defined (/' src/tun.c
pascal@1325 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1325 19 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \
pascal@1325 20 make && make DESTDIR=$PWD/_pkg install
pascal@1325 21 }
pascal@1325 22
pascal@1325 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1325 24 genpkg_rules()
pascal@1325 25 {
pascal@1325 26 mkdir -p $fs/usr $fs/etc/init.d $fs/var/lib/chilli/
pascal@1325 27 cp -a $_pkg/usr/sbin $fs/usr
pascal@1325 28 cp $src/doc/chilli.conf $fs/etc
pascal@1325 29 cp stuff/chilli $fs/etc/init.d
pascal@1325 30 }
pascal@1325 31