summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/wireshark/wireshark_2.2.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/wireshark/wireshark_2.2.0.bb')
-rw-r--r--meta-networking/recipes-support/wireshark/wireshark_2.2.0.bb48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/wireshark/wireshark_2.2.0.bb b/meta-networking/recipes-support/wireshark/wireshark_2.2.0.bb
new file mode 100644
index 0000000000..dca3be6dd1
--- /dev/null
+++ b/meta-networking/recipes-support/wireshark/wireshark_2.2.0.bb
@@ -0,0 +1,48 @@
1DESCRIPTION = "wireshark - a popular network protocol analyzer"
2HOMEPAGE = "http://www.wireshark.org"
3SECTION = "net"
4LICENSE = "GPL-2.0"
5LIC_FILES_CHKSUM = "file://README.linux;md5=631e077455b7972172eb149195e065b0"
6
7DEPENDS = "pcre expat glib-2.0 sbc"
8
9SRC_URI = "https://2.na.dl.wireshark.org/src/all-versions/${BP}.tar.bz2"
10
11SRC_URI[md5sum] = "c7de0997f74934f25b456846cf75cb81"
12SRC_URI[sha256sum] = "a6847e741efcba6cb9d92d464d4219917bee3ad0b8f5b0f80d4388ad2f3f1104"
13
14inherit autotools pkgconfig perlnative
15
16ARM_INSTRUCTION_SET = "arm"
17
18
19PACKAGECONFIG ?= "libpcap gnutls libnl libcap"
20PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "x11", "gtk2 graphics", "", d)}"
21#PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "gtk3", "", d)}"
22
23PACKAGECONFIG[libcap] = "--with-libcap=${STAGING_LIBDIR}, --with-libcap=no --enable-pcap-ng-default , libcap"
24PACKAGECONFIG[libpcap] = "--with-pcap=${STAGING_LIBDIR} --with-pcap-remote, --with-pcap=no --enable-pcap-ng-default , libpcap"
25PACKAGECONFIG[libsmi] = "--with-libsmi=yes, --with-libsmi=no, libsmi"
26PACKAGECONFIG[libnl] = "--with-libnl=yes, --with-libnl=no, libnl"
27PACKAGECONFIG[portaudio] = "--with-portaudio=yes, --with-portaudio=no, portaudio-v19"
28PACKAGECONFIG[gtk2] = "--with-gtk=2, , gtk+"
29PACKAGECONFIG[gtk3] = "--with-gtk=3, , gtk+3"
30PACKAGECONFIG[graphics] = "--enable-wireshark, --with-gtk=no --disable-wireshark,"
31PACKAGECONFIG[gnutls] = "--with-gnutls=yes, --with-gnutls=no, gnutls"
32PACKAGECONFIG[gcrypt] = "--with-gcrypt=yes, --with-gcrypt=no, libgcrypt"
33PACKAGECONFIG[ssl] = "--with-ssl=yes, --with-ssl=no, openssl"
34PACKAGECONFIG[krb5] = "--with-krb5=yes, --with-krb5=no, krb5"
35PACKAGECONFIG[lua] = "--with-lua=yes, --with-lua=no, lua"
36PACKAGECONFIG[zlib] = "--with-zlib=yes, --with-zlib=no, zlib"
37PACKAGECONFIG[geoip] = "--with-geoip=yes, --with-geoip=no, geoip"
38PACKAGECONFIG[plugins] = "--with-plugins=yes, --with-plugins=no"
39
40# these next two options require addional layers
41PACKAGECONFIG[c-ares] = "--with-c-ares=yes, --with-c-ares=no, c-ares"
42
43EXTRA_OECONF += "--with-qt=no --enable-tshark --enable-rawshark"
44
45ALLOW_EMPTY_${PN} = "1"
46INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
47
48FILES_${PN} += "${datadir}*"