summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/wget
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-07-26 17:26:51 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:18:41 +0100
commit00d0d074a452bb5dc54ad12f44e444a742380860 (patch)
tree57d0b03d95e58f0652e0e6c8031f56e5262ed609 /meta/recipes-extended/wget
parent75a086630fdf118db3bd2bda12532370d3175081 (diff)
downloadopenembedded-core-00d0d074a452bb5dc54ad12f44e444a742380860.tar.gz
openembedded-core-00d0d074a452bb5dc54ad12f44e444a742380860.tar.bz2
openembedded-core-00d0d074a452bb5dc54ad12f44e444a742380860.zip
wget: cleanup update-alternatives deprecated code
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/wget')
-rw-r--r--meta/recipes-extended/wget/wget.inc10
1 files changed, 2 insertions, 8 deletions
diff --git a/meta/recipes-extended/wget/wget.inc b/meta/recipes-extended/wget/wget.inc
index 4e1e931774..3575c87da6 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"