summaryrefslogtreecommitdiffstats
path: root/inetutils/Pkgfile
blob: 1025d880bc3b69324a0269c8becc2d6e5eddb59d (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
# 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
	./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
}