wok-6.x diff wifidog/receipt @ rev 22822
Add emu8051
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 06 12:27:36 2020 +0100 (2020-02-06) |
parents | 2a21689b0af7 |
children | d443265acbc1 |
line diff
1.1 --- a/wifidog/receipt Thu Oct 03 09:52:57 2013 +0000 1.2 +++ b/wifidog/receipt Thu Feb 06 12:27:36 2020 +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 -