2017-02-09 09:28:35 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/thom311/libnl
|
|
|
|
TERMUX_PKG_DESCRIPTION="Collection of libraries providing APIs to netlink protocol based Linux kernel interfaces"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2019-09-18 16:16:49 +02:00
|
|
|
TERMUX_PKG_VERSION=3.5.0
|
|
|
|
TERMUX_PKG_SRCURL=https://github.com/thom311/libnl/releases/download/libnl${TERMUX_PKG_VERSION//./_}/libnl-$TERMUX_PKG_VERSION.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=352133ec9545da76f77e70ccb48c9d7e5324d67f6474744647a7ed382b5e05fa
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="libnl-dev"
|
|
|
|
TERMUX_PKG_REPLACES="libnl-dev"
|
2017-02-09 09:28:35 +01:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-pthreads --disable-cli"
|
2018-05-27 14:55:20 +02:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_pre_configure() {
|
2018-05-27 14:55:20 +02:00
|
|
|
CFLAGS+=" -Dsockaddr_storage=__kernel_sockaddr_storage"
|
|
|
|
}
|