summaryrefslogtreecommitdiff
path: root/repo/core/inetutils.xibuild
blob: 035b4518ae946ba0101252278c79dc5dbb8ea351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

DEPS=(pam libcap readline ncurses libxcrypt)

SOURCE=https://ftp.gnu.org/gnu/inetutils/inetutils-2.2.tar.xz
DESC="A collection of common programs for basic networking"

build () {
    ./configure --prefix=/usr --bindir=/usr/bin  --localstatedir=/var --disable-logger --disable-whois  --disable-rcp  --disable-rexec --disable-rlogin --disable-rsh
    make
    make DESTDIR=$PKG_DEST install 
}

package () {
    mv -v /usr/{,s}bin/ifconfig
}