wok-6.x view wifidog/receipt @ rev 22804

gtk+3: added build dependencies autoconf and automake
author Hans-G?nter Theisgen
date Tue Jan 28 09:27:21 2020 +0100 (2020-01-28)
parents 2a21689b0af7
children d443265acbc1
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="autoconf"
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 }