summaryrefslogtreecommitdiffstats
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:26:35 +0100
commit5230b712a882414237344f229aff5d20ddf7d13b (patch)
treeabda1196a7540f122e557ab26b399e15a473f82d
parent81a9c1313deb6904728edb53288a623809321038 (diff)
downloadpoky-5230b712a882414237344f229aff5d20ddf7d13b.tar.gz
wget: cleanup update-alternatives deprecated code
(From OE-Core rev: 00d0d074a452bb5dc54ad12f44e444a742380860) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 4LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
5DEPENDS = "openssl" 5DEPENDS = "openssl"
6 6
7INC_PR = "r14" 7INC_PR = "r15"
8 8
9inherit autotools gettext update-alternatives 9inherit autotools gettext update-alternatives
10 10
11EXTRA_OECONF = "--with-libc --enable-ipv6 --with-libssl-prefix=${STAGING_DIR_HOST} --with-ssl=openssl --disable-rpath" 11EXTRA_OECONF = "--with-libc --enable-ipv6 --with-libssl-prefix=${STAGING_DIR_HOST} --with-ssl=openssl --disable-rpath"
12 12
13do_install_append () { 13ALTERNATIVE_${PN} = "wget"
14 mv ${D}${bindir}/wget ${D}${bindir}/wget.${BPN}
15}
16
17ALTERNATIVE_NAME = "wget"
18ALTERNATIVE_LINK = "${bindir}/wget"
19ALTERNATIVE_PATH = "${bindir}/wget.${BPN}"
20ALTERNATIVE_PRIORITY = "100" 14ALTERNATIVE_PRIORITY = "100"