wok-6.x annotate fping/receipt @ rev 14285
primateplunge: fix WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 06 16:22:56 2013 +0200 (2013-04-06) |
parents | 18a9cd52e9bb |
children | 3b4e4318134e |
rev | line source |
---|---|
pascal@1317 | 1 # SliTaz package receipt. |
pascal@1317 | 2 |
pascal@1317 | 3 PACKAGE="fping" |
samuel_trassare@14114 | 4 VERSION="3.4" |
pascal@1317 | 5 CATEGORY="system-tools" |
pascal@1317 | 6 SHORT_DESC="ICMP echo with multiple hosts." |
pascal@1317 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
slaxemulator@12936 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@12936 | 9 WEB_SITE="http://fping.org/" |
slaxemulator@12936 | 10 WGET_URL="${WEB_SITE}dist/$TARBALL" |
pascal@1317 | 11 |
pascal@1317 | 12 # Rules to configure and make the package. |
pascal@1317 | 13 compile_rules() |
pascal@1317 | 14 { |
samuel_trassare@14114 | 15 ./configure \ |
samuel_trassare@14114 | 16 --prefix=/usr \ |
samuel_trassare@14114 | 17 --infodir=/usr/share/info \ |
samuel_trassare@14114 | 18 --mandir=/usr/share/man \ |
samuel_trassare@14114 | 19 $CONFIGURE_ARGS && \ |
slaxemulator@12936 | 20 make && make DESTDIR=$DESTDIR install |
pascal@1317 | 21 } |
pascal@1317 | 22 |
pascal@1317 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1317 | 24 genpkg_rules() |
pascal@1317 | 25 { |
pascal@1317 | 26 mkdir -p $fs/usr $fs/etc |
slaxemulator@12936 | 27 cp -a $install/usr/sbin $fs/usr |
slaxemulator@12936 | 28 cp $stuff/protocols $fs/etc |
pascal@1317 | 29 } |
pascal@1317 | 30 |