diff options
author | Roy Li <rongqing.li@windriver.com> | 2014-09-09 08:21:25 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2014-09-09 10:32:51 -0400 |
commit | 28e26a9b0ad37d0c92ba42b2727215eef1edf5a2 (patch) | |
tree | 392cf25c04376b9ed9a2184308dd59976490d9df /meta-networking/recipes-support/tcpdump/tcpslice_1.2a3.bb | |
parent | d6929e301945c2d2cbff7b4f20cd4a1c394abf2d (diff) | |
download | meta-openembedded-contrib-28e26a9b0ad37d0c92ba42b2727215eef1edf5a2.tar.gz |
tcpslice: add recipe under tcpdump
tcpslice is a tool for extracting parts of a tcpdump packet trace,
so put it under tcpdump dir
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/tcpdump/tcpslice_1.2a3.bb')
-rw-r--r-- | meta-networking/recipes-support/tcpdump/tcpslice_1.2a3.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/tcpdump/tcpslice_1.2a3.bb b/meta-networking/recipes-support/tcpdump/tcpslice_1.2a3.bb new file mode 100644 index 0000000000..203d143b5d --- /dev/null +++ b/meta-networking/recipes-support/tcpdump/tcpslice_1.2a3.bb @@ -0,0 +1,35 @@ +SUMMARY = "tcpslice" +DESCRIPTION = "A tool for extracting parts of a tcpdump packet trace." +HOMEPAGE = "http://www.tcpdump.org/related.html" +SECTION = "console/network" + +LICENSE = "BSD-4-Clause" +LIC_FILES_CHKSUM = "file://tcpslice.c;endline=20;md5=99519e2e5234d1662a4ce16baa62c64e" + +SRC_URI = "ftp://ftp.ee.lbl.gov/${BP}.tar.gz \ + file://tcpslice-1.2a3-time.patch \ + file://tcpslice-CVS.20010207-bpf.patch \ + " +SRC_URI[md5sum] = "e329cbeb7e589f132d92c3447c477190" +SRC_URI[sha256sum] = "4096e8debc898cfaa16b5306f1c42f8d18b19e30e60da8d4deb781c8f684c840" + +inherit autotools-brokensep + +DEPENDS += "libpcap" + +# We do not want to autoreconf. We must specify srcdir as ".". +# We have to set the ac_cv_* cache variables as well as pass the normal +# cross-compilation options to configure! +# +do_configure () { + oe_runconf \ + --srcdir="." \ + ac_cv_build=${BUILD_SYS} \ + ac_cv_host=${HOST_SYS} \ + ac_cv_target=${HOST_SYS} +} + +do_install_prepend () { + mkdir -p ${D}/usr/sbin +} + |