wok-6.x annotate wifidog/receipt @ rev 18085
Up mate-panel-dev: remove wget_url
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Fri May 22 19:44:36 2015 -0300 (2015-05-22) |
parents | aa0dad286215 |
children | 4324cabcdbaf |
rev | line source |
---|---|
pascal@1862 | 1 # SliTaz package receipt. |
pascal@1862 | 2 |
pascal@1862 | 3 PACKAGE="wifidog" |
pascal@1862 | 4 VERSION="1.1.5" |
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/" |
pascal@1862 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1862 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@1862 | 12 CONFIG_FILES="/etc/wifidog.conf" |
pascal@1862 | 13 |
pascal@1862 | 14 # Rules to configure and make the package. |
pascal@1862 | 15 compile_rules() |
pascal@1862 | 16 { |
pascal@1862 | 17 cd $src |
pascal@1862 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1862 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1862 | 20 make && |
pascal@15363 | 21 make DESTDIR=$DESTDIR install |
pascal@1862 | 22 } |
pascal@1862 | 23 |
pascal@1862 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1862 | 25 genpkg_rules() |
pascal@1862 | 26 { |
pascal@1862 | 27 mkdir -p $fs/usr/lib $fs/etc/init.d |
pascal@15363 | 28 cp -a $install/usr/bin $fs/usr |
pascal@15363 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@1862 | 30 cp $src/wifidog.conf $fs/etc |
pascal@1862 | 31 cp $src/scripts/init.d/wifidog $fs/etc/init.d |
pascal@1862 | 32 } |
pascal@1862 | 33 |