summaryrefslogtreecommitdiffstats
path: root/base/inetutils/Pkgfile
blob: 3b9b6aaed6c4d264d26864c59e6a5e5a8670dc2e (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
# 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: readline, ncurses

name=inetutils
version=1.6
release=1
source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz\
        http://www.linuxfromscratch.org/patches/lfs/development/$name-$version-no_server_man_pages-1.patch)

build() {
	cd $name-$version
        patch -Np1 -i ../$name-$version-no_server_man_pages-1.patch
	./configure --prefix=/usr \
                --libexecdir=/usr/sbin \
                --localstatedir=/var \
                --sysconfdir=/etc \
                --disable-ifconfig \
                --disable-logger \
                --disable-syslogd \
                --disable-whois \
                --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
}