[meta-networking,3/3] traceroute: resolve multilib issues
Submitted by Aws Ismail on Feb. 14, 2013, 9:51 p.m.
|
Patch ID: 44671
Details
Commit Message
@@ -11,6 +11,8 @@ LICENSE = "GPL-2.0 LGPL-2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff"
+PR = "r1"
+
inherit update-alternatives
SRC_URI = "${SOURCEFORGE_MIRROR}/traceroute/traceroute/traceroute-2.0.18/traceroute-2.0.18.tar.gz \
@@ -26,14 +28,14 @@ do_compile() {
do_install() {
install -d ${D}${bindir}
- install -m755 ${PN}/${PN} ${D}${bindir}
+ install -m755 ${BPN}/${BPN} ${D}${bindir}
install -m755 wrappers/tcptraceroute ${D}${bindir}
install -d ${D}${mandir}
- install -p -m644 ${PN}/${PN}.8 ${D}${mandir}
- ln -s ${PN}.8 ${D}${mandir}/${PN}6.8
- ln -s ${PN}.8 ${D}${mandir}/tcptraceroute.8
+ install -p -m644 ${BPN}/${BPN}.8 ${D}${mandir}
+ ln -s ${BPN}.8 ${D}${mandir}/${BPN}6.8
+ ln -s ${BPN}.8 ${D}${mandir}/tcptraceroute.8
}
Make recipe changes to enable successfull building when multilib is being used. Signed-off-by: Aws Ismail <aws.ismail@windriver.com> --- .../traceroute/traceroute_2.0.18.bb | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-)