python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / tcpdump / tcpdump.mk
blobe71f9c113fd04b435dcf76b991ff29295568e2d7
1 ################################################################################
3 # tcpdump
5 ################################################################################
7 TCPDUMP_VERSION = 4.9.0
8 TCPDUMP_SITE = http://www.tcpdump.org/release
9 TCPDUMP_LICENSE = BSD-3c
10 TCPDUMP_LICENSE_FILES = LICENSE
11 TCPDUMP_CONF_ENV = \
12 ac_cv_linux_vers=2 \
13 td_cv_buggygetaddrinfo=no \
14 PCAP_CONFIG=$(STAGING_DIR)/usr/bin/pcap-config
15 TCPDUMP_CONF_OPTS = \
16 --without-crypto \
17 --with-system-libpcap \
18 $(if $(BR2_PACKAGE_TCPDUMP_SMB),--enable-smb,--disable-smb)
19 TCPDUMP_DEPENDENCIES = zlib libpcap
21 ifeq ($(BR2_STATIC_LIBS),y)
22 TCPDUMP_CONF_OPTS += LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`"
23 endif
25 # make install installs an unneeded extra copy of the tcpdump binary
26 define TCPDUMP_REMOVE_DUPLICATED_BINARY
27 rm -f $(TARGET_DIR)/usr/sbin/tcpdump.$(TCPDUMP_VERSION)
28 endef
30 TCPDUMP_POST_INSTALL_TARGET_HOOKS += TCPDUMP_REMOVE_DUPLICATED_BINARY
32 $(eval $(autotools-package))