receipt
# SliTaz package receipt v2.
PACKAGE="inetutils"
VERSION="1.9.4"
CATEGORY="base-system"
SHORT_DESC="Programs for basic networking"
MAINTAINER="[email protected]"
LICENSE="GPL3"
WEB_SITE="https://www.gnu.org/software/inetutils/"
LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/inetutils.html"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
compile_rules() {
./configure \
--localstatedir=/var \
--disable-logger \
--disable-whois \
--disable-rcp \
--disable-rexec \
--disable-rlogin \
--disable-rsh \
--disable-servers \
$CONFIGURE_ARGS &&
make &&
make install || return 1
mkdir -p $install/bin $install/sbin
for i in hostname ping ping6 traceroute; do
mv $install/usr/bin/$i $install/bin
done
mv $install/usr/bin/ifconfig $install/sbin
}
genpkg_rules() {
copy @std
DEPENDS="readline"
TAGS="LFS"
}