1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 17:39:31 +00:00

wget: use BPN for alternatives

(From OE-Core rev: 7e5c325df40012cf21cbbf9a38f4d476f62d7100)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Mark Hatle
2012-05-22 12:37:27 -05:00
committed by Richard Purdie
parent 4966bc5809
commit 1fa4e0554c
+2 -2
View File
@@ -11,10 +11,10 @@ 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.${PN}
mv ${D}${bindir}/wget ${D}${bindir}/wget.${BPN}
}
ALTERNATIVE_NAME = "wget"
ALTERNATIVE_LINK = "${bindir}/wget"
ALTERNATIVE_PATH = "${bindir}/wget.${PN}"
ALTERNATIVE_PATH = "${bindir}/wget.${BPN}"
ALTERNATIVE_PRIORITY = "100"