tar: Switch to INC_PR and fix native builds.
authorTom Rini <tom_rini@mentor.com>
Thu, 23 Sep 2010 19:31:59 +0000 (12:31 -0700)
committerTom Rini <tom_rini@mentor.com>
Thu, 23 Sep 2010 19:31:59 +0000 (12:31 -0700)
We don't want u-a on native.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/tar/tar.inc
recipes/tar/tar_1.18.bb
recipes/tar/tar_1.20.bb
recipes/tar/tar_1.23.bb

index 5f9c899..0e34855 100644 (file)
@@ -2,14 +2,15 @@ DESCRIPTION = "GNU tar saves many files together into a single tape \
 or disk archive, and can restore individual files from the archive."
 SECTION = "base"
 LICENSE = "GPLv3"
+INC_PR = "r1"
 BBCLASSEXTEND = "native"
 
 SRC_URI = "${GNU_MIRROR}/tar/tar-${PV}.tar.bz2"
 
 inherit autotools gettext
 
-do_install () {
-       autotools_do_install
+# We only want rename for update-alternatives on the target
+do_install_append_pn-tar () {
        install -d ${D}${base_bindir}
        mv ${D}${bindir}/tar ${D}${base_bindir}/tar.${PN}
        mv ${D}${libexecdir}/rmt ${D}${libexecdir}/rmt.${PN}
index 74ebdf4..0e4adc9 100644 (file)
@@ -1,4 +1,6 @@
 require tar.inc
 
+PR = "${INC_PR}"
+
 SRC_URI[md5sum] = "70170208d7c1bb9ab40120579434b6a3"
 SRC_URI[sha256sum] = "44944ee0427c8e0d8dbaa0b8f900073a7456819610cc521c53630c3eb117cf5e"
index d224c15..4e3e8e0 100644 (file)
@@ -1,4 +1,6 @@
 require tar.inc
 
+PR = "${INC_PR}"
+
 SRC_URI[md5sum] = "1a7e17f27abf583b3b0bc059a827e68b"
 SRC_URI[sha256sum] = "be8bf33afb5adc2377e45d94693ffd46b75f267f9b808df0c7006e51211f9deb"
index 89a0243..dc37247 100644 (file)
@@ -1,4 +1,6 @@
 require tar.inc
 
+PR = "${INC_PR}"
+
 SRC_URI[md5sum] = "41e2ca4b924ec7860e51b43ad06cdb7e"
 SRC_URI[sha256sum] = "c9328372db62fbb1d94c9e4e3cefc961111af46de47085b635359c00a0eebe36"