Commit | Line | Data |
---|---|---|
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 | ||
7 | name=inetutils | |
c923ab63 | 8 | version=1.8 |
6dca1d21 JB |
9 | release=1 |
10 | source=(http://ftp.gnu.org/gnu/inetutils/inetutils-$version.tar.gz \ | |
11 | inetd.conf inetd) | |
12 | ||
13 | build() { | |
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 | |
75558a00 | 25 | make DESTDIR=$PKG install |
6dca1d21 JB |
26 | install -d $PKG/etc/rc.d |
27 | install -m 644 $SRC/inetd.conf $PKG/etc | |
28 | install -m 755 $SRC/inetd $PKG/etc/rc.d | |
75558a00 | 29 | rm -r $PKG/usr/share |
6dca1d21 | 30 | } |