wok-next view wifidog/receipt @ rev 19367
Up tazlito (428), links (2.13)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Aug 04 19:53:20 2016 +0200 (2016-08-04) |
parents | aa0dad286215 |
children | 10df65db91ad |
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 LICENSE="GPL2"
9 WEB_SITE="http://dev.wifidog.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 CONFIG_FILES="/etc/wifidog.conf"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/etc/init.d
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 cp $src/wifidog.conf $fs/etc
31 cp $src/scripts/init.d/wifidog $fs/etc/init.d
32 }