[oe-commits] Michael Smith : tcpdump 4.0.0-r2: remove extra ${sbindir}/tcpdump.4.0.0
git version control
git at git.openembedded.org
Fri Jun 26 12:54:34 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: af346992978e856dce6b54093f22c14a71ea2c66
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=af346992978e856dce6b54093f22c14a71ea2c66
Author: Michael Smith <msmith at cbnco.com>
Date: Fri Jun 26 08:16:44 2009 -0400
tcpdump 4.0.0-r2: remove extra ${sbindir}/tcpdump.4.0.0
Signed-off-by: Michael Smith <msmith at cbnco.com>
---
recipes/tcpdump/tcpdump_4.0.0.bb | 7 ++++++-
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 7f99220..f36cc0a 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}
+}
More information about the Openembedded-commits
mailing list