summaryrefslogtreecommitdiff
path: root/inetutils/Pkgfile
blob: 5c797336240fd7c7f0b4ebe2dbdfd71bdcb76f5e (plain)
    1 # Description: Inetd daemon, FTP and telnet client
    2 # URL: http://www.gnu.org/software/inetutils/inetutils.html
    3 # Maintainer: CRUX System Team, core-ports at crux dot nu
    4 # Depends on: readline
    5 
    6 name=inetutils
    7 version=2.4
    8 release=1
    9 source=(http://ftpmirror.gnu.org/gnu/inetutils/inetutils-$version.tar.gz
   10 	inetd.conf inetd)
   11 
   12 build() {
   13 	cd inetutils-$version
   14 
   15 	./configure \
   16 		--prefix=/usr \
   17 		--libexecdir=/usr/sbin \
   18 		--localstatedir=/var \
   19 		--sysconfdir=/etc \
   20 		--disable-{servers,clients} \
   21 		--enable-{hostname,ifconfig,inetd,ftp,telnet,traceroute}
   22 
   23 	make
   24 	make DESTDIR=$PKG install
   25 
   26 	install -d $PKG/{bin,sbin,etc/rc.d}
   27 
   28 	mv $PKG/usr/bin/hostname $PKG/bin
   29 	mv $PKG/usr/bin/ifconfig $PKG/sbin
   30 
   31 	install -m 644 $SRC/inetd.conf $PKG/etc
   32 	install -m 755 $SRC/inetd $PKG/etc/rc.d
   33 
   34 	rm -r $PKG/usr/share/info
   35 }

Generated by cgit