summaryrefslogtreecommitdiffstats
path: root/inetutils/Pkgfile
blob: 0575a6967c3c076dcd76109a152dd14953477af0 (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
description="Inetd daemon, FTP and telnet client."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.gnu.org/software/inetutils/inetutils.html"
depends=(readline ncurses)

name=inetutils
version=1.8
release=1
source=(http://ftp.gnu.org/gnu/inetutils/inetutils-1.8.tar.gz inetd.conf inetd)
build () 
{ 
	cd inetutils-$version;
	./configure \
		--prefix=$prefix \
		--libexecdir=$prefix/sbin \
		--mandir=$mandir \
		--localstatedir=/var \
		--sysconfdir=$sysconfdir \
		--disable-{servers,clients} \
		--enable-{inetd,ftp,telnet};
	make;
	make DESTDIR=$PKG install;
	install -d $PKG/etc/rc.d;
	install -m 644 $SRC/inetd.conf $PKG$sysconfdir;
	install -m 755 $SRC/inetd $PKG$sysconfdir/rc.d;
}