2021-11-21 16:52:36 +01:00
|
|
|
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
|
2021-11-21 17:05:30 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-${TERMUX_PKG_VERSION}.tar.xz
|
2021-11-21 16:52:36 +01:00
|
|
|
TERMUX_PKG_SHA256=38e3e4a5f9a7f5575c015027a10df097c149111eeb739993128e5b2b35b291ff
|
|
|
|
TERMUX_PKG_DEPENDS="libandroid-glob, libandroid-support"
|
2021-11-21 17:14:32 +01:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2021-11-21 16:52:36 +01:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
CFLAGS+=" -fPIC"
|
2021-11-21 17:22:57 +01:00
|
|
|
LDFLAGS+=" -landroid-glob"
|
2021-11-21 16:52:36 +01:00
|
|
|
}
|