CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
inetutils: updated to 1.9.4 and updated mandir
[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, devel at crux-arm dot nu
5# Depends on: ncurses
6
7name=inetutils
8version=1.9.4
9release=3
10source=(http://ftp.gnu.org/gnu/inetutils/inetutils-$version.tar.gz \
11 inetd.conf inetd $name-$version-pathprocnet.patch)
12
13build() {
14 cd inetutils-$version
15
16 # Fix for PATH_PROC_NET undefined error
17 patch -p1 -i $SRC/$name-$version-pathprocnet.patch
18
19 ./configure --build=$CHOST \
20 --host=$CTARGET \
21 --prefix=/usr \
22 --libexecdir=/usr/sbin \
23 --localstatedir=/var \
24 --sysconfdir=/etc \
25 --disable-{servers,clients} \
26 --enable-{hostname,ifconfig,inetd,ftp,telnet,traceroute}
27
28 make
29 make DESTDIR=$PKG install
30
31 install -d $PKG/{bin,sbin,etc/rc.d}
32
33 mv $PKG/usr/bin/hostname $PKG/bin
34 mv $PKG/usr/bin/ifconfig $PKG/sbin
35
36 install -m 644 $SRC/inetd.conf $PKG/etc
37 install -m 755 $SRC/inetd $PKG/etc/rc.d
38
39 rm -r $PKG/usr/share/info
40}