CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
kbd: updated to 1.15.3 and aligned with upstream
[crossrootfs.git] / inetutils / Pkgfile
CommitLineData
6dca1d21
JB
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
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6dca1d21
JB
5# Depends on: ncurses
6
7name=inetutils
75c30319 8version=1.9.1
6dca1d21
JB
9release=1
10source=(http://ftp.gnu.org/gnu/inetutils/inetutils-$version.tar.gz \
11 inetd.conf inetd)
12
13build() {
14 cd inetutils-$version
75c30319
VM
15
16 # fix for glibc 'gets' removal
17 sed -i -e '/gets is a/d' lib/stdio.in.h
18
6dca1d21
JB
19 ./configure --build=$CHOST \
20 --host=$CTARGET \
21 --prefix=/usr \
22 --libexecdir=/usr/sbin \
23 --mandir=/usr/man \
24 --localstatedir=/var \
25 --sysconfdir=/etc \
26 --disable-{servers,clients} \
27 --enable-{inetd,ftp,telnet}
75c30319 28
6dca1d21 29 make
75558a00 30 make DESTDIR=$PKG install
75c30319 31
6dca1d21
JB
32 install -d $PKG/etc/rc.d
33 install -m 644 $SRC/inetd.conf $PKG/etc
34 install -m 755 $SRC/inetd $PKG/etc/rc.d
75c30319 35
75558a00 36 rm -r $PKG/usr/share
6dca1d21 37}