From eacbc2153d217d5a0d6e5fc0eeb6e028aa57a3d2 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 23 Sep 2010 12:31:59 -0700 Subject: [PATCH] tar: Switch to INC_PR and fix native builds. We don't want u-a on native. Signed-off-by: Tom Rini --- recipes/tar/tar.inc | 5 +++-- recipes/tar/tar_1.18.bb | 2 ++ recipes/tar/tar_1.20.bb | 2 ++ recipes/tar/tar_1.23.bb | 2 ++ 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" -- 2.11.4.GIT