diff options
Diffstat (limited to 'meta-networking/recipes-support/wireshark/wireshark_1.12.3.bb')
-rw-r--r-- | meta-networking/recipes-support/wireshark/wireshark_1.12.3.bb | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/wireshark/wireshark_1.12.3.bb b/meta-networking/recipes-support/wireshark/wireshark_1.12.3.bb new file mode 100644 index 0000000000..2dd99d6986 --- /dev/null +++ b/meta-networking/recipes-support/wireshark/wireshark_1.12.3.bb | |||
@@ -0,0 +1,48 @@ | |||
1 | DESCRIPTION = "wireshark - a popular network protocol analyzer" | ||
2 | HOMEPAGE = "http://www.wireshark.org" | ||
3 | SECTION = "network" | ||
4 | LICENSE = "GPL-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://README.linux;md5=631e077455b7972172eb149195e065b0" | ||
6 | |||
7 | DEPENDS = "perl-native libcap libpcap pcre expat glib-2.0 libnl sbc" | ||
8 | |||
9 | SRC_URI = " \ | ||
10 | http://wiresharkdownloads.riverbed.com/wireshark/src/wireshark-${PV}.tar.bz2 \ | ||
11 | file://Do-not-set-CC_FOR_BUILD-flags.patch \ | ||
12 | " | ||
13 | |||
14 | PE = "1" | ||
15 | |||
16 | SRC_URI[md5sum] = "e6318b8451d4e56d39bd911da296ef19" | ||
17 | SRC_URI[sha256sum] = "69950b9dcb1a630982b5f680554d73d27ee0dc856fc6aeef88c8d04eb5ac33ea" | ||
18 | |||
19 | inherit autotools pkgconfig | ||
20 | |||
21 | ARM_INSTRUCTION_SET = "arm" | ||
22 | |||
23 | # Works with either gtk+ or gtk3. | ||
24 | WHICH_GTK = "gtk3" | ||
25 | |||
26 | PACKAGECONFIG ??= "gnutls gcrypt" | ||
27 | PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "x11", "${WHICH_GTK} graphics", "", d)}" | ||
28 | PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)}" | ||
29 | |||
30 | PACKAGECONFIG[libsmi] = "--with-libsmi=yes, --with-libsmi=no, libsmi" | ||
31 | PACKAGECONFIG[portaudio] = "--with-portaudio=yes, --with-portaudio=no, portaudio-v19" | ||
32 | PACKAGECONFIG[gtk2] = "--with-gtk2=yes, --with-gtk2=no, gtk+" | ||
33 | PACKAGECONFIG[gtk3] = "--with-gtk3=yes, --with-gtk3=no, gtk+3" | ||
34 | PACKAGECONFIG[graphics] = "--enable-wireshark, --disable-wireshark," | ||
35 | PACKAGECONFIG[ipv6] = "--enable-ipv6, --disable-ipv6," | ||
36 | PACKAGECONFIG[gnutls] = "--with-gnutls=yes, --with-gnutls=no, gnutls" | ||
37 | PACKAGECONFIG[gcrypt] = "--with-gcrypt=yes, --with-gcrypt=no, libgcrypt" | ||
38 | PACKAGECONFIG[krb5] = "--with-krb5=yes, --with-krb5=no, krb5" | ||
39 | |||
40 | EXTRA_OECONF = "--with-qt=no --enable-usr-local=no --enable-tshark --with-c-ares=no" | ||
41 | |||
42 | do_configure_prepend() { | ||
43 | # force to use fallback | ||
44 | sed -i -e '/^glib_prefix/s/=.*$/=""/' ${S}/aclocal-flags | ||
45 | } | ||
46 | |||
47 | ALLOW_EMPTY_${PN} = "1" | ||
48 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||