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 '/tag\//!d;s|.*tag/v*||;s|".*||;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
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)