2017-04-09 22:02:35 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://net-tools.sourceforge.net/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Configuration tools for Linux networking"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-01-07 14:55:35 +01:00
|
|
|
TERMUX_PKG_VERSION=2.10.0
|
|
|
|
TERMUX_PKG_SRCURL=https://sourceforge.net/projects/net-tools/files/net-tools-2.10.tar.xz
|
|
|
|
TERMUX_PKG_SHA256=b262435a5241e89bfa51c3cabd5133753952f7a7b7b93f32e08cb9d96f580d69
|
2017-04-09 22:02:35 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2017-04-09 22:24:24 +02:00
|
|
|
TERMUX_PKG_EXTRA_MAKE_ARGS="BINDIR=$TERMUX_PREFIX/bin SBINDIR=$TERMUX_PREFIX/bin HAVE_HOSTNAME_TOOLS=0"
|
2017-04-09 22:02:35 +02:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_configure() {
|
2017-04-09 22:02:35 +02:00
|
|
|
CFLAGS="$CFLAGS -D_LINUX_IN6_H -Dindex=strchr -Drindex=strrchr"
|
|
|
|
sed -i "s#/usr#$TERMUX_PREFIX#" $TERMUX_PKG_SRCDIR/man/Makefile
|
|
|
|
yes "" | make config || true
|
|
|
|
}
|