wok-6.x view wifidog/receipt @ rev 23725
hplip: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 30 16:01:51 2020 +0000 (2020-04-30) |
parents | 4324cabcdbaf |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wifidog"
4 VERSION="1.3.0"
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/wifidog-gateway/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="libtool"
16 CONFIG_FILES="/etc/wifidog.conf"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./autogen.sh \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 mkdir -p $fs/etc/init.d
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp $src/wifidog.conf $fs/etc
39 cp $src/scripts/init.d/wifidog $fs/etc/init.d
40 }