blob: cbea56d361959df4b4d0ba556b1fba127283cbe6 (
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
|
#!/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 check
make DESTDIR=$PKG_DEST install
}
package () {
mv -v /usr/{,s}bin/ifconfig
}
|