termux-packages/packages/libpcap/build.sh

10 lines
558 B
Bash
Raw Normal View History

2015-06-13 01:03:31 +02:00
TERMUX_PKG_HOMEPAGE=http://www.tcpdump.org/
TERMUX_PKG_DESCRIPTION="Library for network traffic capture"
2016-11-20 13:04:10 +01:00
TERMUX_PKG_VERSION=1.8.1
2015-06-13 01:03:31 +02:00
TERMUX_PKG_SRCURL=http://www.tcpdump.org/release/libpcap-${TERMUX_PKG_VERSION}.tar.gz
2016-11-20 13:04:10 +01:00
TERMUX_PKG_SHA256=673dbc69fdc3f5a86fb5759ab19899039a8e5e6c631749e48dcd9c6f0c83541e
2017-02-17 11:53:07 +01:00
# ac_cv_lib_nl_3_nl_socket_alloc=no to avoid linking against libnl:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_lib_nl_3_nl_socket_alloc=no --with-pcap=linux"
2015-06-13 01:03:31 +02:00
TERMUX_PKG_RM_AFTER_INSTALL="bin/pcap-config share/man/man1/pcap-config.1"
TERMUX_PKG_BUILD_IN_SRC="yes"