wok-next annotate wifidog/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 10df65db91ad
children
rev   line source
al@20604 1 # SliTaz package receipt v2.
pascal@1862 2
pascal@1862 3 PACKAGE="wifidog"
pascal@1862 4 VERSION="1.1.5"
pascal@1862 5 CATEGORY="network"
al@20604 6 SHORT_DESC="Captive portal solution for hotspot, gateway side"
pascal@1862 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15363 8 LICENSE="GPL2"
pascal@1862 9 WEB_SITE="http://dev.wifidog.org/"
al@20604 10
pascal@1862 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1862 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@1862 13
al@20604 14 compile_rules() {
al@20604 15 ./configure \
al@20604 16 --prefix=/usr \
al@20604 17 --infodir=/usr/share/info \
al@20604 18 --mandir=/usr/share/man \
al@20604 19 $CONFIGURE_ARGS &&
al@20604 20 fix libtool &&
pascal@1862 21 make &&
al@21020 22 make DESTDIR=$install install || return 1
al@20604 23
al@20604 24 install -Dm644 $src/wifidog.conf $install/etc/wifidog.conf
al@20604 25 install -Dm755 $src/scripts/init.d/wifidog $install/etc/init.d/wifidog
pascal@1862 26 }
pascal@1862 27
al@20604 28 genpkg_rules() {
al@20604 29 copy @std
al@20604 30 CONFIG_FILES="/etc/wifidog.conf"
pascal@1862 31 }