summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Smith <msmith@cbnco.com>2009-06-26 08:16:44 -0400
committerPhil Blundell <philb@gnu.org>2009-06-26 13:54:29 +0100
commitaf346992978e856dce6b54093f22c14a71ea2c66 (patch)
tree34533c066fa801b29ab1da04f2a6536bb8658fc1
parentceb3562c1e148c5c761d51202789b5f8f1fcb6b6 (diff)
tcpdump 4.0.0-r2: remove extra ${sbindir}/tcpdump.4.0.0
Signed-off-by: Michael Smith <msmith@cbnco.com>
-rw-r--r--recipes/tcpdump/tcpdump_4.0.0.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes/tcpdump/tcpdump_4.0.0.bb b/recipes/tcpdump/tcpdump_4.0.0.bb
index 7f9922007d..f36cc0aafa 100644
--- a/recipes/tcpdump/tcpdump_4.0.0.bb
+++ b/recipes/tcpdump/tcpdump_4.0.0.bb
@@ -4,7 +4,7 @@ LICENSE = "BSD"
SECTION = "console/network"
PRIORITY = "optional"
DEPENDS = "libpcap"
-PR = "r1"
+PR = "r2"
SRC_URI = " \
http://www.tcpdump.org/release/tcpdump-${PV}.tar.gz \
@@ -25,3 +25,8 @@ do_configure() {
sed -i 's:/usr/lib:${STAGING_LIBDIR}:' ./Makefile
sed -i 's:/usr/include:${STAGING_INCDIR}:' ./Makefile
}
+
+do_install_append() {
+ # tcpdump 4.0.0 installs a copy to /usr/sbin/tcpdump.4.0.0
+ rm -f ${D}${sbindir}/tcpdump.${PV}
+}