mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
autoconf-archive is a collection of m4 autoconf macros needed at build-time, and autoconf-archive-native is a suitable provider as there is nothing in the recipe that needs to be cross-compiled. Also if we use DEPENDS=autoconf-archive then the recipe's -dev package ends up RDEPENDing on autoconf-archive, which isn't correct. Universally change any DEPENDS on autoconf-archive to the -native form, and add any missing dependencies that were implicit before. (From OE-Core rev: 571132415ea7fe2d91c62948f2b6aa553eafa83d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
46 lines
1.8 KiB
PHP
46 lines
1.8 KiB
PHP
SUMMARY = "Console URL download utility supporting HTTP, FTP, etc"
|
|
DESCRIPTION = "Wget is a network utility to retrieve files from the web using \
|
|
HTTP(S) and FTP, the two most widely used internet protocols. It works \
|
|
non-interactively, so it will work in the background, after having logged off. \
|
|
The program supports recursive retrieval of web-authoring pages as well as \
|
|
FTP sites"
|
|
HOMEPAGE = "https://www.gnu.org/software/wget/"
|
|
SECTION = "console/network"
|
|
LICENSE = "GPL-3.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e"
|
|
|
|
inherit autotools gettext texinfo update-alternatives pkgconfig
|
|
|
|
DEPENDS += "autoconf-archive-native"
|
|
|
|
EXTRA_OECONF = "--without-libgnutls-prefix --without-libssl-prefix \
|
|
--disable-rpath"
|
|
|
|
EXTRA_OEMAKE += 'TOOLCHAIN_OPTIONS="${TOOLCHAIN_OPTIONS}" \
|
|
DEBUG_PREFIX_MAP="${DEBUG_PREFIX_MAP}"'
|
|
|
|
ALTERNATIVE:${PN} = "wget"
|
|
ALTERNATIVE:${PN}:class-nativesdk = ""
|
|
ALTERNATIVE_PRIORITY = "100"
|
|
|
|
RRECOMMENDS:${PN} += "ca-certificates"
|
|
|
|
BBCLASSEXTEND = "nativesdk"
|
|
|
|
PACKAGECONFIG ??= "gnutls pcre zlib \
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
|
|
PACKAGECONFIG[ares] = "--with-cares,--without-cares,c-ares"
|
|
PACKAGECONFIG[gnutls] = "--with-ssl=gnutls,,gnutls"
|
|
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|
|
PACKAGECONFIG[iri] = "--enable-iri,--disable-iri,libidn2"
|
|
PACKAGECONFIG[libpsl] = "--with-libpsl,--without-libpsl,libpsl"
|
|
PACKAGECONFIG[libuuid] = "--with-libuuid,--without-libuuid,util-linux"
|
|
PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl"
|
|
PACKAGECONFIG[pcre] = "--enable-pcre,--disable-pcre,libpcre"
|
|
PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
|
|
|
|
# Let aclocal use the relative path for the m4 file rather than
|
|
# absolute, otherwise there might be an "Argument list too long" error
|
|
# when it is built in a long/deep directory.
|
|
acpaths = "-I ./m4"
|