diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/wireshark/wireshark_1.0.5.bb | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/wireshark/wireshark_1.0.5.bb')
-rw-r--r-- | recipes/wireshark/wireshark_1.0.5.bb | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/recipes/wireshark/wireshark_1.0.5.bb b/recipes/wireshark/wireshark_1.0.5.bb new file mode 100644 index 0000000000..aa8e66c2f4 --- /dev/null +++ b/recipes/wireshark/wireshark_1.0.5.bb @@ -0,0 +1,70 @@ +DESCRIPTION = "wireshark - a popular network protocol analyzer" +HOMEPAGE = "http://www.wireshark.org" +SECTION = "network" +LICENSE = "GPL" +DEPENDS = "perl-native gnutls libpcap pcre expat glib-2.0 libsmi gtk+" +EXTRA_OECONF = "--disable-usrlocal --with-pcap=${STAGING_DIR_HOST}${layout_prefix} \ + --with-libsmi=${STAGING_DIR_HOST}${layout_prefix} --enable-tshark --enable-wireshark" + +PR = "r5" + +SRC_URI = "${SOURCEFORGE_MIRROR}/wireshark/wireshark-${PV}.tar.bz2 \ + file://ieee80215.4.patch;patch=1" + +ARM_INSTRUCTION_SET = "arm" + +PACKAGES += "libwireshark1-dev libwireshark1 libwireshark1-dbg" +FILES_libwireshark1 = "${libdir}/*.so*" +FILES_libwireshark1-dev += "${libdir}/*.la ${libdir}/*.a ${libdir}/*.so ${includedir}" +FILES_libwireshark1-dbg += "${libdir}/.debug" +LEAD_SONAME_libwireshark1 = "libwireshark.so.0" + +PACKAGES += "${PN}-wireshark ${PN}-wireshark-dbg ${PN}-tshark ${PN}-tshark-dbg" +FILES_${PN}-wireshark = "${bindir}/wireshark" +FILES_${PN}-wireshark-dbg = "${bindir}/.debug/wireshark" +FILES_${PN}-tshark = "${bindir}/tshark" +FILES_${PN}-tshark-dbg = "${bindir}/.debug/tshark" +RDEPENDS_${PN}-tshark += "libsmi-mibs libsmi-pibs ${PN}-data" +RDEPENDS_${PN}-wireshark += "libsmi-mibs libsmi-pibs ${PN}-data" +RCONFLICTS_${PN}-tshark = "tshark wireshark (<1.0.5)" +RREPLACES_${PN}-tshark = "tshark wireshark (<1.0.5)" +RCONFLICTS_${PN}-wireshark = "tshark wireshark (<1.0.5)" +RREPLACES_${PN}-wireshark = "tshark wireshark (<1.0.5)" + +PACKAGES += "${PN}-plugins-dbg ${PN}-plugins" +FILES_${PN}-plugins = "${libdir}/wireshark/plugins/${PV}/*.so ${libdir}/wireshark/plugins/${PV}/*.la" +FILES_${PN}-plugins-dbg += "${libdir}/wireshark/plugins/${PV}/.debug" + +PACKAGES += "${PN}-data" +FILES_${PN}-data = "${datadir}/wireshark" + +PACKAGES += "${PN}-utils ${PN}-utils-dbg" +FILES_${PN}-utils = "${bindir}/text2pcap ${bindir}/dumpcap \ + ${bindir}/rawshark ${bindir}/editcap \ + ${bindir}/mergecap ${bindir}/idl2wrs \ + ${bindir}/dftest ${bindir}/capinfos \ + ${bindir}/randpkt" +FILES_${PN}-utils-dbg = "${bindir}/.debug" + +FILES_${PN} = "" +FILES_${PN}-dev = "" +FILES_${PN}-dbg = "" +ALLOW_EMPTY_${PN} = "1" +RDEPENDS_${PN} = "${PN}-tshark ${PN}-wireshark ${PN}-plugins ${PN}-data" +RCONFLICTS_${PN} = "tshark wireshark (<1.0.5)" +RREPLACES_${PN} = "tshark wireshark (<1.0.5)" + +inherit autotools + +do_compile_prepend() { + find . -type f -name Makefile \ + -exec sed -e 's@-I/usr/include @@g' \ + -e 's@-I$(includedir)@@g' \ + -e 's@-I/usr/local/include @@g' \ + -e "s@-I${includedir} @@g" -i '{}' ';' + + ${BUILD_CC} ${BUILD_CFLAGS} -o rdps rdps.c + oe_runmake -C tools/lemon CC="${BUILD_CC} ${BUILD_CFLAGS}" \ + CC_FOR_BUILD="${BUILD_CC} ${BUILD_CFLAGS}" LDFLAGS="${BUILD_LDFLAGS}" +} + |