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