SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "fping"

# SliTaz package receipt.

PACKAGE="fping"
VERSION="5.1"
CATEGORY="system-tools"
SHORT_DESC="ICMP echo with multiple hosts."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="other"
WEB_SITE="https://fping.org/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="${WEB_SITE}dist/$TARBALL"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/schweikert/fping/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure                \
        LIBS="-lrt"            \
        --prefix=/usr            \
        --infodir=/usr/share/info    \
        --mandir=/usr/share/man        \
        $CONFIGURE_ARGS &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/etc
    mkdir -p $fs/usr

    cp -a $install/usr/sbin    $fs/usr
    cp $stuff/protocols    $fs/etc
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)