1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

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>
This commit is contained in:
Saul Wold
2012-07-26 17:26:51 -07:00
committed by Richard Purdie
parent 81a9c1313d
commit 5230b712a8
+2 -8
View File
@@ -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"