summaryrefslogtreecommitdiffstats
path: root/inetutils/Pkgfile.old
blob: af58f1f9f233b05304b6738d77d7a9dd34fa6e56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Description: Inetd daemon, FTP and telnet client
# URL:         http://www.gnu.org/software/inetutils/inetutils.html
# Maintainer:  CRUX System Team, core-ports at crux dot nu
# Depends on:  readline ncurses

name=inetutils
version=1.8
release=1
source=(http://ftp.gnu.org/gnu/inetutils/inetutils-$version.tar.gz \
        inetd.conf inetd)

build() {
    cd inetutils-$version

    ./configure --prefix=/usr \
                --libexecdir=/usr/sbin \
                --mandir=/usr/man \
                --localstatedir=/var \
                --sysconfdir=/etc \
                --disable-{servers,clients} \
                --enable-{inetd,ftp,telnet}
    
    make
    make DESTDIR=$PKG install

    install -d $PKG/etc/rc.d
    install -m 644 $SRC/inetd.conf $PKG/etc
    install -m 755 $SRC/inetd $PKG/etc/rc.d

    rm -r $PKG/usr/share
}