wok annotate wifidog/receipt @ rev 22193
updated xorg-inputproto (2.3 -> 2.3.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Nov 11 09:48:05 2019 +0100 (2019-11-11) |
parents | 2a21689b0af7 |
children | d443265acbc1 |
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 |
Hans-G?nter@22130 | 14 BUILD_DEPENDS="autoconf" |
Hans-G?nter@22130 | 15 |
pascal@1862 | 16 CONFIG_FILES="/etc/wifidog.conf" |
pascal@1862 | 17 |
pascal@1862 | 18 # Rules to configure and make the package. |
pascal@1862 | 19 compile_rules() |
pascal@1862 | 20 { |
Hans-G?nter@22130 | 21 ./autogen.sh \ |
Hans-G?nter@22130 | 22 --prefix=/usr \ |
Hans-G?nter@22130 | 23 --infodir=/usr/share/info \ |
Hans-G?nter@22130 | 24 --mandir=/usr/share/man \ |
Hans-G?nter@22130 | 25 $CONFIGURE_ARGS && |
pascal@1862 | 26 make && |
pascal@15363 | 27 make DESTDIR=$DESTDIR install |
pascal@1862 | 28 } |
pascal@1862 | 29 |
pascal@1862 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1862 | 31 genpkg_rules() |
pascal@1862 | 32 { |
Hans-G?nter@22130 | 33 mkdir -p $fs/usr/lib |
Hans-G?nter@22130 | 34 mkdir -p $fs/etc/init.d |
Hans-G?nter@22130 | 35 |
Hans-G?nter@22130 | 36 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22130 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22130 | 38 cp $src/wifidog.conf $fs/etc |
Hans-G?nter@22130 | 39 cp $src/scripts/init.d/wifidog $fs/etc/init.d |
pascal@1862 | 40 } |