summaryrefslogtreecommitdiff
path: root/repo/core/inetutils.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-10-06 20:32:41 +0100
committerdavidovski <david@davidovski.xyz>2021-10-06 20:32:41 +0100
commitbeb0e949f6189884cd31fdf0f95e5d35be6a2a93 (patch)
tree7edae8055d72e2b7afae4d333302f61d7090b110 /repo/core/inetutils.xibuild
parent0cb5ed4e60d3453c0b2ee9a153afa96c9bd3dd0c (diff)
added more core packages
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
+}