wok annotate fping/receipt @ rev 5797

Speedup some builds
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 11 13:09:27 2010 +0200 (2010-07-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