# SliTaz package receipt.

PACKAGE="fping"
VERSION="2.4b2_to"
CATEGORY="system-tools"
SHORT_DESC="ICMP echo with multiple hosts."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE.tar.gz"
WEB_SITE="http://fping.sourceforge.net/"
WGET_URL="${WEB_SITE}download/$TARBALL"

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr $fs/etc
	cp -a $_pkg/usr/sbin $fs/usr
	cp stuff/protocols $fs/etc
}