From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/net-tools/net-tools.xibuild | 78 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 repo/net-tools/net-tools.xibuild (limited to 'repo/net-tools/net-tools.xibuild') diff --git a/repo/net-tools/net-tools.xibuild b/repo/net-tools/net-tools.xibuild new file mode 100644 index 0000000..a4b97f0 --- /dev/null +++ b/repo/net-tools/net-tools.xibuild @@ -0,0 +1,78 @@ +#!/bin/sh + +MAKEDEPS="make utmps " +DEPS="pam libcap readline ncurses libxcrypt iana-etc " + +PKG_VER=2.10 +SOURCE=https://github.com/ecki/net-tools +ADDITIONAL=" +" + +DESC="Linux networking base tools" + +prepare () { + sed -i lib/inet_sr.c \ + -e "/#include /a #include " + sed -i netstat.c \ + -e "/#include /a #include " + + sed -i slattach.c \ + -e "/#include /a #include " + + + cat > config.make < config.h + +} + +build () { + yes "" | make +} + +package () { + make DESTDIR=$PKG_DEST install +} -- cgit v1.2.1