--- /dev/null
+require ethereal_${PV}.bb
+DEPENDS = "perl-native libpcap-native"
+inherit native
+
+EXTRA_OECONF = "\
+ --enable-ethereal=no \
+ --enable-tethereal=yes \
+ --enable-editcap=no \
+ --enable-dumpcap=no \
+ --enable-capinfos=no \
+ --enable-mergecap=no \
+ --enable-text2pcap=no \
+ --enable-idl2eth=no"
+
+do_stage() {
+ install -m 0755 rdps ${STAGING_BINDIR}/ethereal-rdps
+ install -m 0755 tools/lemon/lemon ${STAGING_BINDIR}/ethereal-lemon
+}
+
+do_install() {
+ :
+}
+
--- /dev/null
+DESCRIPTION = "Ethereal is the world's most popular network protocol analyzer"
+HOMEPAGE = "http://www.ethereal.com"
+SECTION = "x11/network"
+LICENSE = "GPL"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+
+DEPENDS = "perl-native ethereal-native gtk+ libpcap"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/ethereal/ethereal-${PV}.tar.bz2 \
+ file://use-our-lemon.patch;patch=1"
+S = "${WORKDIR}/ethereal-${PV}"
+
+inherit autotools
+
+do_compile_prepend() {
+ ln -sf ${STAGING_BINDIR}/ethereal-rdps rdps
+ ln -sf ${STAGING_BINDIR}/ethereal-lemon tools/lemon/lemon
+}
--- /dev/null
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- ethereal-0.99.0/tools/Makefile.am~use-our-lemon
++++ ethereal-0.99.0/tools/Makefile.am
+@@ -21,7 +21,7 @@
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+-SUBDIRS = lemon
++SUBDIRS =
+
+ PIDL_FILES= \
+ pidl/MANIFEST \