[OE-core] [PATCH 11/19] wget: use new update-alternatives
Morgan Little
morgan.little at windriver.com
Wed Aug 1 14:12:12 UTC 2012
Signed-off-by: Morgan Little <morgan.little at windriver.com>
---
meta/recipes-extended/wget/wget.inc | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-extended/wget/wget.inc b/meta/recipes-extended/wget/wget.inc
index 4e1e931..0047329 100644
--- a/meta/recipes-extended/wget/wget.inc
+++ b/meta/recipes-extended/wget/wget.inc
@@ -4,7 +4,7 @@
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
DEPENDS = "openssl"
-INC_PR = "r14"
+INC_PR = "r15"
inherit autotools gettext update-alternatives
@@ -14,7 +14,7 @@
do_install_append () {
mv ${D}${bindir}/wget ${D}${bindir}/wget.${BPN}
}
-ALTERNATIVE_NAME = "wget"
-ALTERNATIVE_LINK = "${bindir}/wget"
-ALTERNATIVE_PATH = "${bindir}/wget.${BPN}"
+ALTERNATIVE_${PN} = "wget"
+ALTERNATIVE_LINK_NAME[wget] = "${bindir}/wget"
+ALTERNATIVE_TARGET[wget] = "${bindir}/wget.${BPN}"
ALTERNATIVE_PRIORITY = "100"
--
1.7.0.4
More information about the Openembedded-core
mailing list