wok-6.x annotate wifidog/receipt @ rev 2031
Add: lzip
author | Fabrice THIROUX <mimas@slitaz.org> |
---|---|
date | Sat Jan 10 00:51:09 2009 +0100 (2009-01-10) |
parents | |
children | aa0dad286215 |
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 WEB_SITE="http://fuse.sourceforge.net/" |
pascal@1862 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@1862 | 12 CONFIG_FILES="/etc/wifidog.conf" |
pascal@1862 | 13 |
pascal@1862 | 14 # Rules to configure and make the package. |
pascal@1862 | 15 compile_rules() |
pascal@1862 | 16 { |
pascal@1862 | 17 cd $src |
pascal@1862 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1862 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1862 | 20 make && |
pascal@1862 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1862 | 22 } |
pascal@1862 | 23 |
pascal@1862 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1862 | 25 genpkg_rules() |
pascal@1862 | 26 { |
pascal@1862 | 27 mkdir -p $fs/usr/lib $fs/etc/init.d |
pascal@1862 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@1862 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1862 | 30 cp $src/wifidog.conf $fs/etc |
pascal@1862 | 31 cp $src/scripts/init.d/wifidog $fs/etc/init.d |
pascal@1862 | 32 } |
pascal@1862 | 33 |