CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Imported core-cross ports from 2.5
[crossrootfs.git] / inetutils / Pkgfile
... / ...
CommitLineData
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# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
5# Depends on: ncurses
6
7name=inetutils
8version=1.6
9release=1
10source=(http://ftp.gnu.org/gnu/inetutils/inetutils-$version.tar.gz \
11 inetd.conf inetd)
12
13build() {
14 cd inetutils-$version
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --libexecdir=/usr/sbin \
19 --mandir=/usr/man \
20 --localstatedir=/var \
21 --sysconfdir=/etc \
22 --disable-{servers,clients} \
23 --enable-{inetd,ftp,telnet}
24 make
25 for p in inetd ftp telnet; do
26 ( cd $p; make DESTDIR=$PKG install )
27 done
28 install -d $PKG/etc/rc.d
29 install -m 644 $SRC/inetd.conf $PKG/etc
30 install -m 755 $SRC/inetd $PKG/etc/rc.d
31}