wok-6.x annotate fping/receipt @ rev 13575
linux/list_modules.sh: modules.list has moved...
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 05 11:02:15 2012 +0100 (2012-11-05) |
parents | c3019d818a0e |
children | 8afd61481bd6 |
rev | line source |
---|---|
pascal@1317 | 1 # SliTaz package receipt. |
pascal@1317 | 2 |
pascal@1317 | 3 PACKAGE="fping" |
slaxemulator@12936 | 4 VERSION="3.2" |
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 { |
pascal@1317 | 15 cd $src |
pascal@1317 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
slaxemulator@12936 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
slaxemulator@12936 | 18 make && make DESTDIR=$DESTDIR 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 |
slaxemulator@12936 | 25 cp -a $install/usr/sbin $fs/usr |
slaxemulator@12936 | 26 cp $stuff/protocols $fs/etc |
pascal@1317 | 27 } |
pascal@1317 | 28 |