1
0
Fork 0
frozenports/www/inetutils/SCHEMATIC

40 lines
1.3 KiB
Plaintext
Raw Normal View History

2024-01-22 10:46:08 +00:00
#!/bin/sh
name="inetutils"
short_desc="Common network programs"
desc="Inetutils is a collection of common network programs. It includes:
Network tools: ping, ping6, traceroute, whois.
Admin tools: hostname, dnsdomainname, ifconfig, logger
And more..
Most of them are improved versions of programs originally from BSD. Some
others are original versions, written from scratch. "
category="www"
version="2.5"
maintainer="ffqq@danwin1210.de"
www="https://www.gnu.org/software/inetutils/"
master_site="https://ftp.gnu.org/gnu/inetutils/"
source_name="$name-$version.tar.gz"
license_logic="single" # accepted values: single, and, or
licenses=("GPLv3")
build_dependencies=("devel/gmake" "lang/gcc")
run_dependencies=("system/glibc")
build_process() {
cd $name-$version
./configure --prefix=/usr \
--bindir=/usr/bin \
--localstatedir=/var \
--disable-logger \
--disable-whois \
--disable-rcp \
--disable-rexec \
--disable-rlogin \
--disable-telnet \
--disable-hostname \
--disable-rsh \
--disable-servers || exit 1
make -j$(nproc)
make DESTDIR="$TAMANDUA_STAGE_DIR" install
rm -r $TAMANDUA_STAGE_DIR/usr/share/info
}