wok-current annotate fping/receipt @ rev 25727

Add miss stuff folder for libxml++, dbus-c++
author Stanislas Leduc <shann@slitaz.org>
date Tue Nov 05 13:46:37 2024 +0000 (4 weeks ago)
parents 2a0479881723
children
rev   line source
pascal@1317 1 # SliTaz package receipt.
pascal@1317 2
pascal@1317 3 PACKAGE="fping"
Hans-G?nter@24561 4 VERSION="5.1"
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@24561 9 WEB_SITE="https://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@24436 14 # What is the latest version available today?
pascal@24436 15 current_version()
pascal@24436 16 {
pascal@24436 17 wget -O - https://github.com/schweikert/fping/releases 2>/dev/null | \
pascal@24436 18 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24436 19 }
pascal@24436 20
pascal@1317 21 # Rules to configure and make the package.
pascal@1317 22 compile_rules()
pascal@1317 23 {
Hans-G?nter@22772 24 ./configure \
Hans-G?nter@24561 25 LIBS="-lrt" \
Hans-G?nter@22772 26 --prefix=/usr \
Hans-G?nter@22772 27 --infodir=/usr/share/info \
Hans-G?nter@22772 28 --mandir=/usr/share/man \
Hans-G?nter@24561 29 $CONFIGURE_ARGS &&
Hans-G?nter@22772 30 make &&
Hans-G?nter@24561 31 make install DESTDIR=$DESTDIR
pascal@1317 32 }
pascal@1317 33
pascal@1317 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1317 35 genpkg_rules()
pascal@1317 36 {
Hans-G?nter@24561 37 mkdir -p $fs/etc
Hans-G?nter@22772 38 mkdir -p $fs/usr
Hans-G?nter@22772 39
Hans-G?nter@22772 40 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@22772 41 cp $stuff/protocols $fs/etc
pascal@1317 42 }