new package: iproute2

This commit is contained in:
xtkoba 2021-11-22 00:52:36 +09:00 committed by Henrik Grimler
parent 714aa0dfa7
commit 51b3e0ac0c
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
TERMUX_PKG_HOMEPAGE=https://wiki.linuxfoundation.org/networking/iproute2
TERMUX_PKG_DESCRIPTION="Utilities for controlling networking"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=5.15.0
TERMUX_PKG_SRCURL=https://www.kernel.org/pub/linux/utils/net/iproute2/${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=38e3e4a5f9a7f5575c015027a10df097c149111eeb739993128e5b2b35b291ff
TERMUX_PKG_DEPENDS="libandroid-glob, libandroid-support"
TERMUX_PKG_EXTRA_MAKE_ARGS="DESTDIR=${TERMUX_PREFIX} PREFIX="
termux_step_pre_configure() {
CFLAGS+=" -fPIC"
}