[oe-commits] Saul Wold : wget: cleanup update-alternatives deprecated code

git at git.openembedded.org git at git.openembedded.org
Wed Aug 15 13:31:56 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 00d0d074a452bb5dc54ad12f44e444a742380860
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=00d0d074a452bb5dc54ad12f44e444a742380860

Author: Saul Wold <sgw at linux.intel.com>
Date:   Thu Jul 26 17:26:51 2012 -0700

wget: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-extended/wget/wget.inc |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/meta/recipes-extended/wget/wget.inc b/meta/recipes-extended/wget/wget.inc
index 4e1e931..3575c87 100644
--- a/meta/recipes-extended/wget/wget.inc
+++ b/meta/recipes-extended/wget/wget.inc
@@ -4,17 +4,11 @@ LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 DEPENDS = "openssl"
 
-INC_PR = "r14"
+INC_PR = "r15"
 
 inherit autotools gettext update-alternatives
 
 EXTRA_OECONF = "--with-libc --enable-ipv6 --with-libssl-prefix=${STAGING_DIR_HOST} --with-ssl=openssl --disable-rpath"
 
-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_PRIORITY = "100"





More information about the Openembedded-commits mailing list