# Description: Programmes de base pour réseau
# URL: http://www.gnu.org/software/inetutils/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: 

name=inetutils
version=1.8
release=1
source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
build() {
	cd $name-$version
	./configure --prefix=/usr \
                --libexecdir=/usr/sbin \
                --localstatedir=/var \
                --sysconfdir=/etc \
                --disable-ifconfig \
                --disable-logger \
                --disable-syslogd \
                --disable-whois \
		--disable-hostname \
                --disable-servers \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
	make DESTDIR=$PKG install
	if [ -f $PKG/usr/share/info/dir ]; then
        	rm $PKG/usr/share/info/dir
	fi
}