summaryrefslogtreecommitdiff
path: root/repo/core/inetutils.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/core/inetutils.xibuild')
-rw-r--r--repo/core/inetutils.xibuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/repo/core/inetutils.xibuild b/repo/core/inetutils.xibuild
new file mode 100644
index 0000000..cbea56d
--- /dev/null
+++ b/repo/core/inetutils.xibuild
@@ -0,0 +1,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
+}