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"
|
2022-03-28 20:46:20 +02:00
|
|
|
TERMUX_PKG_VERSION=5.17.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
|
2022-03-28 20:46:20 +02:00
|
|
|
TERMUX_PKG_SHA256=6e384f1b42c75e1a9daac57866da37dcff909090ba86eb25a6e764da7893660e
|
2021-11-21 16:52:36 +01:00
|
|
|
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
|
|
|
}
|