wok-6.x annotate wifidog/receipt @ rev 24657
updated icewm (1.6.4 -> 2.9.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 07:48:38 2022 +0100 (2022-03-11) |
parents | d443265acbc1 |
children | 8ea0030e77cb |
rev | line source |
---|---|
pascal@1862 | 1 # SliTaz package receipt. |
pascal@1862 | 2 |
pascal@1862 | 3 PACKAGE="wifidog" |
Hans-G?nter@22130 | 4 VERSION="1.3.0" |
pascal@1862 | 5 CATEGORY="network" |
pascal@1862 | 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/" |
Hans-G?nter@22130 | 10 |
pascal@1862 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22130 | 12 WGET_URL="https://github.com/$PACKAGE/wifidog-gateway/archive/$VERSION.tar.gz" |
Hans-G?nter@22130 | 13 |
pascal@23623 | 14 BUILD_DEPENDS="libtool" |
Hans-G?nter@22130 | 15 |
pascal@1862 | 16 CONFIG_FILES="/etc/wifidog.conf" |
pascal@1862 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@1862 | 24 # Rules to configure and make the package. |
pascal@1862 | 25 compile_rules() |
pascal@1862 | 26 { |
Hans-G?nter@22130 | 27 ./autogen.sh \ |
Hans-G?nter@22130 | 28 --prefix=/usr \ |
Hans-G?nter@22130 | 29 --infodir=/usr/share/info \ |
Hans-G?nter@22130 | 30 --mandir=/usr/share/man \ |
Hans-G?nter@22130 | 31 $CONFIGURE_ARGS && |
pascal@1862 | 32 make && |
pascal@15363 | 33 make DESTDIR=$DESTDIR install |
pascal@1862 | 34 } |
pascal@1862 | 35 |
pascal@1862 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1862 | 37 genpkg_rules() |
pascal@1862 | 38 { |
Hans-G?nter@22130 | 39 mkdir -p $fs/usr/lib |
Hans-G?nter@22130 | 40 mkdir -p $fs/etc/init.d |
Hans-G?nter@22130 | 41 |
Hans-G?nter@22130 | 42 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22130 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22130 | 44 cp $src/wifidog.conf $fs/etc |
Hans-G?nter@22130 | 45 cp $src/scripts/init.d/wifidog $fs/etc/init.d |
pascal@1862 | 46 } |