summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/update-alternatives
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/update-alternatives')
-rw-r--r--meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc12
-rw-r--r--meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.13.22.bb7
-rw-r--r--meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.15.8.7.bb8
3 files changed, 18 insertions, 9 deletions
diff --git a/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc b/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc
index 9b53df8725..f7f9ae979d 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
5time." 5time."
6LICENSE = "GPL" 6LICENSE = "GPL"
7SECTION = "base" 7SECTION = "base"
8SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.gz" 8SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2"
9S = "${WORKDIR}/dpkg-${PV}" 9S = "${WORKDIR}/dpkg-${PV}"
10PACKAGE_ARCH = "all" 10PACKAGE_ARCH = "all"
11PR = "r2" 11INC_PR = "r2"
12
13inherit gettext
12 14
13do_patch () { 15do_patch () {
14 cat ${S}/scripts/update-alternatives.pl | \ 16 cat ${S}/scripts/update-alternatives.pl | \
@@ -32,4 +34,10 @@ do_install () {
32 install -m 0755 scripts/update-alternatives ${D}${sbindir}/update-alternatives 34 install -m 0755 scripts/update-alternatives ${D}${sbindir}/update-alternatives
33} 35}
34 36
37PROVIDES += "virtual/update-alternatives"
38RPROVIDES_${PN} += "update-alternatives"
39EXTRA_RDEPENDS = "perl dpkg"
40EXTRA_RDEPENDS_virtclass-native = ""
41RDEPENDS_${PN} += "${EXTRA_RDEPENDS}"
42
35BBCLASSEXTEND = "native" 43BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.13.22.bb b/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.13.22.bb
deleted file mode 100644
index 5d38d5d36f..0000000000
--- a/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.13.22.bb
+++ /dev/null
@@ -1,7 +0,0 @@
1require update-alternatives-dpkg.inc
2
3PROVIDES += "virtual/update-alternatives"
4RPROVIDES_${PN} += "update-alternatives"
5EXTRA_RDEPENDS = "perl dpkg"
6EXTRA_RDEPENDS_virtclass-native = ""
7RDEPENDS_${PN} += "${EXTRA_RDEPENDS}"
diff --git a/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.15.8.7.bb b/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.15.8.7.bb
new file mode 100644
index 0000000000..5443122952
--- /dev/null
+++ b/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.15.8.7.bb
@@ -0,0 +1,8 @@
1require update-alternatives-dpkg.inc
2
3PR = "${INC_PR}.0"
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
6
7SRC_URI[md5sum] = "d1731d4147c1ea3b537a4d094519a6dc"
8SRC_URI[sha256sum] = "1ec1376471b04717a4497e5d7a27cd545248c92116898ce0c53ced8ea94267b5"