2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-02-17 21:18:11 +01:00
|
|
|
#
|
|
|
|
# wireshark
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-02-17 21:18:11 +01:00
|
|
|
|
2015-03-05 11:29:34 +01:00
|
|
|
WIRESHARK_VERSION = 1.12.4
|
2013-02-17 21:18:11 +01:00
|
|
|
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
|
2014-09-04 22:50:38 +02:00
|
|
|
# For wrong cflags patch
|
2013-02-17 21:18:11 +01:00
|
|
|
WIRESHARK_AUTORECONF = YES
|
2014-12-30 08:36:23 +01:00
|
|
|
WIRESHARK_CONF_ENV = \
|
|
|
|
LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config \
|
|
|
|
ac_cv_path_PCAP_CONFIG=$(STAGING_DIR)/usr/bin/pcap-config
|
2013-02-17 21:18:11 +01:00
|
|
|
|
|
|
|
# wireshark adds -I$includedir to CFLAGS, causing host/target headers mixup.
|
|
|
|
# Work around it by pointing includedir at staging
|
2014-12-30 08:36:23 +01:00
|
|
|
WIRESHARK_CONF_OPTS = \
|
|
|
|
--disable-wireshark \
|
|
|
|
--without-krb5 \
|
|
|
|
--disable-usr-local \
|
|
|
|
--enable-static=no \
|
|
|
|
--with-gnutls=no \
|
|
|
|
--with-libsmi=no \
|
|
|
|
--includedir=$(STAGING_DIR)/usr/include
|
2013-02-17 21:18:11 +01:00
|
|
|
|
2013-09-11 13:05:01 +02:00
|
|
|
$(eval $(autotools-package))
|