CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.13 and updated mandir
[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
c2eed42a 9release=4
6dca1d21 10source=(http://ftp.gnu.org/gnu/inetutils/inetutils-$version.tar.gz \
c2eed42a 11 inetd.conf inetd $name-$version-pathprocnet.patch)
6dca1d21
JB
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
c2eed42a
VM
19 # Fix for PATH_PROC_NET undefined error
20 patch -p1 -i $SRC/$name-$version-pathprocnet.patch
21
6dca1d21
JB
22 ./configure --build=$CHOST \
23 --host=$CTARGET \
24 --prefix=/usr \
25 --libexecdir=/usr/sbin \
26 --mandir=/usr/man \
27 --localstatedir=/var \
28 --sysconfdir=/etc \
29 --disable-{servers,clients} \
4b8f91fd 30 --enable-{ifconfig,inetd,ftp,telnet,traceroute}
75c30319 31
6dca1d21 32 make
75558a00 33 make DESTDIR=$PKG install
75c30319 34
4b8f91fd 35 install -d $PKG/etc/rc.d
c2eed42a 36
6dca1d21
JB
37 install -m 644 $SRC/inetd.conf $PKG/etc
38 install -m 755 $SRC/inetd $PKG/etc/rc.d
75c30319 39
75558a00 40 rm -r $PKG/usr/share
6dca1d21 41}