diff options
Diffstat (limited to 'meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc')
-rw-r--r-- | meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc | 12 |
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 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 | |||
5 | time." | 5 | time." |
6 | LICENSE = "GPL" | 6 | LICENSE = "GPL" |
7 | SECTION = "base" | 7 | SECTION = "base" |
8 | SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.gz" | 8 | SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2" |
9 | S = "${WORKDIR}/dpkg-${PV}" | 9 | S = "${WORKDIR}/dpkg-${PV}" |
10 | PACKAGE_ARCH = "all" | 10 | PACKAGE_ARCH = "all" |
11 | PR = "r2" | 11 | INC_PR = "r2" |
12 | |||
13 | inherit gettext | ||
12 | 14 | ||
13 | do_patch () { | 15 | do_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 | ||
37 | PROVIDES += "virtual/update-alternatives" | ||
38 | RPROVIDES_${PN} += "update-alternatives" | ||
39 | EXTRA_RDEPENDS = "perl dpkg" | ||
40 | EXTRA_RDEPENDS_virtclass-native = "" | ||
41 | RDEPENDS_${PN} += "${EXTRA_RDEPENDS}" | ||
42 | |||
35 | BBCLASSEXTEND = "native" | 43 | BBCLASSEXTEND = "native" |