wok view fping/receipt @ rev 24484
updated dislocker (0.7.1 -> 0.7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 15:45:33 2022 +0100 (2022-02-18) |
parents | 03cab65f327a |
children | cdc74335c27a |
line source
1 # SliTaz package receipt.
3 PACKAGE="fping"
4 VERSION="4.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="ICMP echo with multiple hosts."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="http://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 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS 2>&1 | sed 's|: No such|: no such|' &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 mkdir -p $fs/etc
39 cp -a $install/usr/sbin $fs/usr
40 cp $stuff/protocols $fs/etc
41 }