wok-next diff wifidog/receipt @ rev 20784
update also: gpgme, libgpg-error and gpa
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 06:52:39 2018 +0000 (2018-06-09) |
parents | 2a21689b0af7 |
children | d5aab818505e |
line diff
1.1 --- a/wifidog/receipt Thu Oct 03 09:52:57 2013 +0000 1.2 +++ b/wifidog/receipt Sat Jun 09 06:52:39 2018 +0000 1.3 @@ -1,33 +1,31 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="wifidog" 1.8 VERSION="1.1.5" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="Captive portal solution for hotspot, gateway side." 1.11 +SHORT_DESC="Captive portal solution for hotspot, gateway side" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 WEB_SITE="http://dev.wifidog.org/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 -CONFIG_FILES="/etc/wifidog.conf" 1.19 1.20 -# Rules to configure and make the package. 1.21 -compile_rules() 1.22 -{ 1.23 - cd $src 1.24 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.25 - --mandir=/usr/share/man $CONFIGURE_ARGS && 1.26 +compile_rules() { 1.27 + ./configure \ 1.28 + --prefix=/usr \ 1.29 + --infodir=/usr/share/info \ 1.30 + --mandir=/usr/share/man \ 1.31 + $CONFIGURE_ARGS && 1.32 + fix libtool && 1.33 make && 1.34 - make DESTDIR=$DESTDIR install 1.35 + make DESTDIR=$DESTDIR install || return 1 1.36 + 1.37 + install -Dm644 $src/wifidog.conf $install/etc/wifidog.conf 1.38 + install -Dm755 $src/scripts/init.d/wifidog $install/etc/init.d/wifidog 1.39 } 1.40 1.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.42 -genpkg_rules() 1.43 -{ 1.44 - mkdir -p $fs/usr/lib $fs/etc/init.d 1.45 - cp -a $install/usr/bin $fs/usr 1.46 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.47 - cp $src/wifidog.conf $fs/etc 1.48 - cp $src/scripts/init.d/wifidog $fs/etc/init.d 1.49 +genpkg_rules() { 1.50 + copy @std 1.51 + CONFIG_FILES="/etc/wifidog.conf" 1.52 } 1.53 -