aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/tar
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2010-09-23 12:31:59 -0700
committerTom Rini <tom_rini@mentor.com>2010-09-23 12:31:59 -0700
commiteacbc2153d217d5a0d6e5fc0eeb6e028aa57a3d2 (patch)
tree4c4444130bd998a7685a764f70c98c8e6ea055e4 /recipes/tar
parentd83ccb0f889b77280fe6c7d6e5c2d1e1c523d87a (diff)
downloadopenembedded-eacbc2153d217d5a0d6e5fc0eeb6e028aa57a3d2.tar.gz
tar: Switch to INC_PR and fix native builds.
We don't want u-a on native. Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/tar')
-rw-r--r--recipes/tar/tar.inc5
-rw-r--r--recipes/tar/tar_1.18.bb2
-rw-r--r--recipes/tar/tar_1.20.bb2
-rw-r--r--recipes/tar/tar_1.23.bb2
4 files changed, 9 insertions, 2 deletions
diff --git a/recipes/tar/tar.inc b/recipes/tar/tar.inc
index 5f9c899ec6..0e348557e6 100644
--- a/recipes/tar/tar.inc
+++ b/recipes/tar/tar.inc
@@ -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}
diff --git a/recipes/tar/tar_1.18.bb b/recipes/tar/tar_1.18.bb
index 74ebdf4cca..0e4adc90e8 100644
--- a/recipes/tar/tar_1.18.bb
+++ b/recipes/tar/tar_1.18.bb
@@ -1,4 +1,6 @@
require tar.inc
+PR = "${INC_PR}"
+
SRC_URI[md5sum] = "70170208d7c1bb9ab40120579434b6a3"
SRC_URI[sha256sum] = "44944ee0427c8e0d8dbaa0b8f900073a7456819610cc521c53630c3eb117cf5e"
diff --git a/recipes/tar/tar_1.20.bb b/recipes/tar/tar_1.20.bb
index d224c1516a..4e3e8e0fe8 100644
--- a/recipes/tar/tar_1.20.bb
+++ b/recipes/tar/tar_1.20.bb
@@ -1,4 +1,6 @@
require tar.inc
+PR = "${INC_PR}"
+
SRC_URI[md5sum] = "1a7e17f27abf583b3b0bc059a827e68b"
SRC_URI[sha256sum] = "be8bf33afb5adc2377e45d94693ffd46b75f267f9b808df0c7006e51211f9deb"
diff --git a/recipes/tar/tar_1.23.bb b/recipes/tar/tar_1.23.bb
index 89a0243596..dc37247471 100644
--- a/recipes/tar/tar_1.23.bb
+++ b/recipes/tar/tar_1.23.bb
@@ -1,4 +1,6 @@
require tar.inc
+PR = "${INC_PR}"
+
SRC_URI[md5sum] = "41e2ca4b924ec7860e51b43ad06cdb7e"
SRC_URI[sha256sum] = "c9328372db62fbb1d94c9e4e3cefc961111af46de47085b635359c00a0eebe36"