generic-poky/meta/recipes-extended/wget/wget.inc
Mark Hatle 1fa4e0554c 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>
2012-05-30 12:04:38 +01:00

21 lines
610 B
PHP

DESCRIPTION = "A console URL download utility featuring HTTP, FTP, and more."
SECTION = "console/network"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
DEPENDS = "openssl"
INC_PR = "r14"
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_PRIORITY = "100"