wok-next view wifidog/receipt @ rev 8940

arora, atm-tools, bird, bmpanel2, cgoban, djmount, dwm, echinus, fail2ban, fbida, fotoxx: update BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 01 17:06:27 2011 +0100 (2011-03-01)
parents e1a93cb40c5b
children 2a21689b0af7
line source
1 # SliTaz package receipt.
3 PACKAGE="wifidog"
4 VERSION="1.1.5"
5 CATEGORY="network"
6 SHORT_DESC="Captive portal solution for hotspot, gateway side."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://dev.wifidog.org/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 CONFIG_FILES="/etc/wifidog.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 --mandir=/usr/share/man $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib $fs/etc/init.d
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 cp $src/wifidog.conf $fs/etc
30 cp $src/scripts/init.d/wifidog $fs/etc/init.d
31 }