wok-6.x annotate fping/receipt @ rev 22961
updated iso-codes (3.45 -> 4.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 28 16:47:15 2020 +0100 (2020-02-28) |
parents | 3b4e4318134e |
children | 2a0479881723 |
rev | line source |
---|---|
pascal@1317 | 1 # SliTaz package receipt. |
pascal@1317 | 2 |
pascal@1317 | 3 PACKAGE="fping" |
Hans-G?nter@22772 | 4 VERSION="4.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" |
pascal@15593 | 8 LICENSE="other" |
Hans-G?nter@22772 | 9 WEB_SITE="http://fping.org/" |
Hans-G?nter@22772 | 10 |
slaxemulator@12936 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@12936 | 12 WGET_URL="${WEB_SITE}dist/$TARBALL" |
pascal@1317 | 13 |
pascal@1317 | 14 # Rules to configure and make the package. |
pascal@1317 | 15 compile_rules() |
pascal@1317 | 16 { |
Hans-G?nter@22772 | 17 ./configure \ |
Hans-G?nter@22772 | 18 --prefix=/usr \ |
Hans-G?nter@22772 | 19 --infodir=/usr/share/info \ |
Hans-G?nter@22772 | 20 --mandir=/usr/share/man \ |
Hans-G?nter@22772 | 21 $CONFIGURE_ARGS 2>&1 | sed 's|: No such|: no such|' && |
Hans-G?nter@22772 | 22 make && |
Hans-G?nter@22772 | 23 make DESTDIR=$DESTDIR install |
pascal@1317 | 24 } |
pascal@1317 | 25 |
pascal@1317 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1317 | 27 genpkg_rules() |
pascal@1317 | 28 { |
Hans-G?nter@22772 | 29 mkdir -p $fs/usr |
Hans-G?nter@22772 | 30 mkdir -p $fs/etc |
Hans-G?nter@22772 | 31 |
Hans-G?nter@22772 | 32 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@22772 | 33 cp $stuff/protocols $fs/etc |
pascal@1317 | 34 } |