wok annotate wifidog/receipt @ rev 4736

knock: add knockd-helper
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 07 12:10:30 2010 +0100 (2010-01-07)
parents e1a93cb40c5b
children 2a21689b0af7
rev   line source
pascal@1862 1 # SliTaz package receipt.
pascal@1862 2
pascal@1862 3 PACKAGE="wifidog"
pascal@1862 4 VERSION="1.1.5"
pascal@1862 5 CATEGORY="network"
pascal@1862 6 SHORT_DESC="Captive portal solution for hotspot, gateway side."
pascal@1862 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1862 8 WEB_SITE="http://dev.wifidog.org/"
pascal@1862 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1862 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@1862 11 CONFIG_FILES="/etc/wifidog.conf"
pascal@1862 12
pascal@1862 13 # Rules to configure and make the package.
pascal@1862 14 compile_rules()
pascal@1862 15 {
pascal@1862 16 cd $src
pascal@1862 17 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1862 18 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1862 19 make &&
pascal@1862 20 make DESTDIR=$PWD/_pkg install
pascal@1862 21 }
pascal@1862 22
pascal@1862 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1862 24 genpkg_rules()
pascal@1862 25 {
pascal@1862 26 mkdir -p $fs/usr/lib $fs/etc/init.d
pascal@1862 27 cp -a $_pkg/usr/bin $fs/usr
pascal@1862 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@1862 29 cp $src/wifidog.conf $fs/etc
pascal@1862 30 cp $src/scripts/init.d/wifidog $fs/etc/init.d
pascal@1862 31 }
pascal@1862 32