summaryrefslogtreecommitdiff
path: root/packages/wireshark/wireshark.inc
diff options
context:
space:
mode:
authorSergey Lapin <slapin@ossfans.org>2009-01-29 16:23:36 +0300
committerSergey Lapin <slapin@ossfans.org>2009-02-16 10:10:37 +0300
commit01aa3f5d36574e02b9007c80cae85e72440e7880 (patch)
treeb5a52b24ed2c6d35c016b77743d28b5dd83cde4a /packages/wireshark/wireshark.inc
parentf17d18964665b071fb8c899cf209133521130199 (diff)
wireshark/tshark: extracted common parts
Diffstat (limited to 'packages/wireshark/wireshark.inc')
-rw-r--r--packages/wireshark/wireshark.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/wireshark/wireshark.inc b/packages/wireshark/wireshark.inc
new file mode 100644
index 0000000000..13715ea273
--- /dev/null
+++ b/packages/wireshark/wireshark.inc
@@ -0,0 +1,20 @@
+HOMEPAGE = "http://www.wireshark.org"
+SECTION = "network"
+LICENSE = "GPL"
+DEPENDS = "perl-native gnutls libpcap pcre expat glib-2.0 net-snmp"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/wireshark/wireshark-${PV}.tar.bz2 \
+ file://use-our-lemon.patch;patch=1 \
+ file://acinclude-net-snmp-fix.patch;patch=1 \
+ file://libtool-fix.patch;patch=1 \
+ file://no-host-includes.patch;patch=1"
+
+S=${WORKDIR}/wireshark-${PV}
+
+inherit autotools
+
+do_compile_prepend() {
+ ${BUILD_CC} ${BUILD_CFLAGS} -o rdps rdps.c
+ oe_runmake -C tools/lemon CC="${BUILD_CC} ${BUILD_CFLAGS}" LDFLAGS="${BUILD_LDFLAGS}"
+}
+