wok-current view fping/receipt @ rev 25151

orc-dev: added .la file
author Hans-G?nter Theisgen
date Thu Jun 30 11:07:10 2022 +0100 (2022-06-30)
parents 2a0479881723
children
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 }