summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-05-20 14:57:48 -0700
committerSaul Wold <sgw@linux.intel.com>2011-05-23 23:39:09 -0700
commit87cf2da6373676293f2fdaaebbacc6890235368d (patch)
tree6bb32a22ae00420d58c3a115441806cc1e11366f /meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc
parent85a3bfcdb65bb9f87bf0b298af68841592d4032c (diff)
downloadopenembedded-core-87cf2da6373676293f2fdaaebbacc6890235368d.tar.gz
openembedded-core-87cf2da6373676293f2fdaaebbacc6890235368d.tar.bz2
openembedded-core-87cf2da6373676293f2fdaaebbacc6890235368d.tar.xz
openembedded-core-87cf2da6373676293f2fdaaebbacc6890235368d.zip
update-alternatives-dpkg: Update to dpkg base 1.15.8.7
[YOCTO #1062] Due to failing fetch updated recipe and SRC_URI to use .bz2, Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc')
-rw-r--r--meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc12
1 files changed, 10 insertions, 2 deletions
diff --git a/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc b/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc
index 9b53df872..f7f9ae979 100644
--- a/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc
+++ b/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc
@@ -5,10 +5,12 @@ programs fulfilling the same or similar functions and how they can be installed
time."
LICENSE = "GPL"
SECTION = "base"
-SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.gz"
+SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2"
S = "${WORKDIR}/dpkg-${PV}"
PACKAGE_ARCH = "all"
-PR = "r2"
+INC_PR = "r2"
+
+inherit gettext
do_patch () {
cat ${S}/scripts/update-alternatives.pl | \
@@ -32,4 +34,10 @@ do_install () {
install -m 0755 scripts/update-alternatives ${D}${sbindir}/update-alternatives
}
+PROVIDES += "virtual/update-alternatives"
+RPROVIDES_${PN} += "update-alternatives"
+EXTRA_RDEPENDS = "perl dpkg"
+EXTRA_RDEPENDS_virtclass-native = ""
+RDEPENDS_${PN} += "${EXTRA_RDEPENDS}"
+
BBCLASSEXTEND = "native"