wok view fping/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 2a0479881723
children 20ad21d5532c
line source
1 # SliTaz package receipt.
3 PACKAGE="fping"
4 VERSION="5.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="ICMP echo with multiple hosts."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://fping.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}dist/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://github.com/schweikert/fping/releases 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 LIBS="-lrt" \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/etc
38 mkdir -p $fs/usr
40 cp -a $install/usr/sbin $fs/usr
41 cp $stuff/protocols $fs/etc
42 }