wok-current rev 22130
updated wifidog (1.1.5 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Nov 04 11:16:52 2019 +0100 (2019-11-04) |
parents | d64f5e2bac15 |
children | 0ba37e865e61 |
files | wifidog/receipt |
line diff
1.1 --- a/wifidog/receipt Mon Nov 04 10:34:00 2019 +0100 1.2 +++ b/wifidog/receipt Mon Nov 04 11:16:52 2019 +0100 1.3 @@ -1,22 +1,28 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="wifidog" 1.7 -VERSION="1.1.5" 1.8 +VERSION="1.3.0" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Captive portal solution for hotspot, gateway side." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL2" 1.13 WEB_SITE="http://dev.wifidog.org/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.17 +WGET_URL="https://github.com/$PACKAGE/wifidog-gateway/archive/$VERSION.tar.gz" 1.18 + 1.19 +BUILD_DEPENDS="autoconf" 1.20 + 1.21 CONFIG_FILES="/etc/wifidog.conf" 1.22 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 { 1.26 - cd $src 1.27 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.28 - --mandir=/usr/share/man $CONFIGURE_ARGS && 1.29 + ./autogen.sh \ 1.30 + --prefix=/usr \ 1.31 + --infodir=/usr/share/info \ 1.32 + --mandir=/usr/share/man \ 1.33 + $CONFIGURE_ARGS && 1.34 make && 1.35 make DESTDIR=$DESTDIR install 1.36 } 1.37 @@ -24,10 +30,11 @@ 1.38 # Rules to gen a SliTaz package suitable for Tazpkg. 1.39 genpkg_rules() 1.40 { 1.41 - mkdir -p $fs/usr/lib $fs/etc/init.d 1.42 - cp -a $install/usr/bin $fs/usr 1.43 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.44 - cp $src/wifidog.conf $fs/etc 1.45 - cp $src/scripts/init.d/wifidog $fs/etc/init.d 1.46 + mkdir -p $fs/usr/lib 1.47 + mkdir -p $fs/etc/init.d 1.48 + 1.49 + cp -a $install/usr/bin $fs/usr 1.50 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.51 + cp $src/wifidog.conf $fs/etc 1.52 + cp $src/scripts/init.d/wifidog $fs/etc/init.d 1.53 } 1.54 -