wok-stable rev 1862

Add wifidog (gateway side)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 15 23:07:14 2008 +0000 (2008-12-15)
parents 72f9368ebef0
children ae44ed1ffffc
files udpcast/receipt wifidog/receipt
line diff
     1.1 --- a/udpcast/receipt	Tue Dec 16 00:20:30 2008 +0100
     1.2 +++ b/udpcast/receipt	Mon Dec 15 23:07:14 2008 +0000
     1.3 @@ -3,7 +3,7 @@
     1.4  PACKAGE="udpcast"
     1.5  VERSION="20081213"
     1.6  CATEGORY="network"
     1.7 -SHORT_DESC="Multicat file transfer."
     1.8 +SHORT_DESC="Multicast file transfer."
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://udpcast.linux.lu/"
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/wifidog/receipt	Mon Dec 15 23:07:14 2008 +0000
     2.3 @@ -0,0 +1,33 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="wifidog"
     2.7 +VERSION="1.1.5"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="Captive portal solution for hotspot, gateway side."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +WEB_SITE="http://dev.wifidog.org/"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WEB_SITE="http://fuse.sourceforge.net/"
    2.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.15 +CONFIG_FILES="/etc/wifidog.conf"
    2.16 +
    2.17 +# Rules to configure and make the package.
    2.18 +compile_rules()
    2.19 +{
    2.20 +	cd $src
    2.21 +	./configure --prefix=/usr --infodir=/usr/share/info \
    2.22 +	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    2.23 +	make &&
    2.24 +	make DESTDIR=$PWD/_pkg install
    2.25 +}
    2.26 +
    2.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.28 +genpkg_rules()
    2.29 +{
    2.30 +	mkdir -p $fs/usr/lib $fs/etc/init.d
    2.31 +	cp -a $_pkg/usr/bin $fs/usr
    2.32 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.33 +	cp $src/wifidog.conf $fs/etc
    2.34 +	cp $src/scripts/init.d/wifidog $fs/etc/init.d
    2.35 +}
    2.36 +