35 lines
933 B
Plaintext
35 lines
933 B
Plaintext
# Description: Inetd daemon, FTP and telnet client
|
|
# URL: http://www.gnu.org/software/inetutils/inetutils.html
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: readline
|
|
|
|
name=inetutils
|
|
version=1.9.4
|
|
release=3
|
|
source=(http://ftpmirror.gnu.org/gnu/inetutils/inetutils-$version.tar.gz \
|
|
inetd.conf inetd)
|
|
|
|
build() {
|
|
cd inetutils-$version
|
|
|
|
./configure --prefix=/usr \
|
|
--libexecdir=/usr/sbin \
|
|
--localstatedir=/var \
|
|
--sysconfdir=/etc \
|
|
--disable-{servers,clients} \
|
|
--enable-{hostname,ifconfig,inetd,ftp,telnet,traceroute}
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
install -d $PKG/{bin,sbin,etc/rc.d}
|
|
|
|
mv $PKG/usr/bin/hostname $PKG/bin
|
|
mv $PKG/usr/bin/ifconfig $PKG/sbin
|
|
|
|
install -m 644 $SRC/inetd.conf $PKG/etc
|
|
install -m 755 $SRC/inetd $PKG/etc/rc.d
|
|
|
|
rm -r $PKG/usr/share/info
|
|
}
|