wok annotate fping/receipt @ rev 9776
vanessa_logger: fix genpkg_rules for cookutils
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 11 22:44:41 2011 +0200 (2011-05-11) |
parents | |
children | 18a9cd52e9bb |
rev | line source |
---|---|
pascal@1317 | 1 # SliTaz package receipt. |
pascal@1317 | 2 |
pascal@1317 | 3 PACKAGE="fping" |
pascal@1317 | 4 VERSION="2.4b2_to" |
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@1317 | 8 TARBALL="$PACKAGE.tar.gz" |
pascal@1317 | 9 WEB_SITE="http://fping.sourceforge.net/" |
pascal@1317 | 10 WGET_URL="${WEB_SITE}download/$TARBALL" |
pascal@1317 | 11 |
pascal@1317 | 12 # Rules to configure and make the package. |
pascal@1317 | 13 compile_rules() |
pascal@1317 | 14 { |
pascal@1317 | 15 cd $src |
pascal@1317 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1317 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
pascal@1317 | 18 make && make DESTDIR=$PWD/_pkg install |
pascal@1317 | 19 } |
pascal@1317 | 20 |
pascal@1317 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1317 | 22 genpkg_rules() |
pascal@1317 | 23 { |
pascal@1317 | 24 mkdir -p $fs/usr $fs/etc |
pascal@1317 | 25 cp -a $_pkg/usr/sbin $fs/usr |
pascal@1317 | 26 cp stuff/protocols $fs/etc |
pascal@1317 | 27 } |
pascal@1317 | 28 |