aboutsummaryrefslogtreecommitdiffstats
path: root/package/wireshark/wireshark.mk
blob: 5a4d8b5788ea431bc345f495ebcf634fcb3733aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#############################################################
#
# wireshark
#
#############################################################

WIRESHARK_VERSION = 1.8.6
WIRESHARK_SOURCE = wireshark-$(WIRESHARK_VERSION).tar.bz2
WIRESHARK_SITE = http://www.wireshark.org/download/src/all-versions
WIRESHARK_LICENSE = wireshark license
WIRESHARK_LICENSE_FILES = COPYING
WIRESHARK_DEPENDENCIES = libpcap libgcrypt libglib2
WIRESHARK_AUTORECONF = YES
WIRESHARK_CONF_ENV = LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config \
			ac_cv_path_PCAP_CONFIG=$(STAGING_DIR)/usr/bin/pcap-config

# wireshark adds -I$includedir to CFLAGS, causing host/target headers mixup.
# Work around it by pointing includedir at staging
WIRESHARK_CONF_OPT = --disable-wireshark --without-krb5 --disable-usr-local \
		     --enable-static=no --with-gnutls=no --with-libsmi=no \
		     --includedir=$(STAGING_DIR)/usr/include

$(eval $(call autotools-package))