wok-6.x annotate fping/receipt @ rev 18309
Up cookutils (750)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 25 12:04:37 2015 +0200 (2015-08-25) |
parents | 8afd61481bd6 |
children | 03cab65f327a |
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" |
pascal@15593 | 8 LICENSE="other" |
slaxemulator@12936 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@12936 | 10 WEB_SITE="http://fping.org/" |
slaxemulator@12936 | 11 WGET_URL="${WEB_SITE}dist/$TARBALL" |
pascal@1317 | 12 |
pascal@1317 | 13 # Rules to configure and make the package. |
pascal@1317 | 14 compile_rules() |
pascal@1317 | 15 { |
samuel_trassare@14114 | 16 ./configure \ |
samuel_trassare@14114 | 17 --prefix=/usr \ |
samuel_trassare@14114 | 18 --infodir=/usr/share/info \ |
samuel_trassare@14114 | 19 --mandir=/usr/share/man \ |
samuel_trassare@14114 | 20 $CONFIGURE_ARGS && \ |
slaxemulator@12936 | 21 make && make DESTDIR=$DESTDIR install |
pascal@1317 | 22 } |
pascal@1317 | 23 |
pascal@1317 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1317 | 25 genpkg_rules() |
pascal@1317 | 26 { |
pascal@1317 | 27 mkdir -p $fs/usr $fs/etc |
slaxemulator@12936 | 28 cp -a $install/usr/sbin $fs/usr |
slaxemulator@12936 | 29 cp $stuff/protocols $fs/etc |
pascal@1317 | 30 } |
pascal@1317 | 31 |