summaryrefslogtreecommitdiffstats
path: root/inetutils/Pkgfile
blob: 7a5ca8e160aee9c3af79d9a0181d5b027e2f09d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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.9.1
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)

build() {
	cd $name-$version

	sed -i '/gets is a security hole/d' lib/stdio.in.h

	./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
}