1SUMMARY = "Console URL download utility supporting HTTP, FTP, etc" 2DESCRIPTION = "Wget is a network utility to retrieve files from the web using \ 3HTTP(S) and FTP, the two most widely used internet protocols. It works \ 4non-interactively, so it will work in the background, after having logged off. \ 5The program supports recursive retrieval of web-authoring pages as well as \ 6FTP sites" 7HOMEPAGE = "https://www.gnu.org/software/wget/" 8SECTION = "console/network" 9LICENSE = "GPLv3" 10LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e" 11 12inherit autotools gettext texinfo update-alternatives pkgconfig 13 14EXTRA_OECONF = "--without-libgnutls-prefix --without-libssl-prefix \ 15 --disable-rpath" 16 17EXTRA_OEMAKE += 'TOOLCHAIN_OPTIONS="${TOOLCHAIN_OPTIONS}" \ 18 DEBUG_PREFIX_MAP="${DEBUG_PREFIX_MAP}"' 19 20ALTERNATIVE:${PN} = "wget" 21ALTERNATIVE:${PN}:class-nativesdk = "" 22ALTERNATIVE_PRIORITY = "100" 23 24RRECOMMENDS:${PN} += "ca-certificates" 25 26BBCLASSEXTEND = "nativesdk" 27 28PACKAGECONFIG ??= "gnutls pcre zlib \ 29 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" 30PACKAGECONFIG[ares] = "--with-cares,--without-cares,c-ares" 31PACKAGECONFIG[gnutls] = "--with-ssl=gnutls,,gnutls" 32PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," 33PACKAGECONFIG[iri] = "--enable-iri,--disable-iri,libidn2" 34PACKAGECONFIG[libpsl] = "--with-libpsl,--without-libpsl,libpsl" 35PACKAGECONFIG[libuuid] = "--with-libuuid,--without-libuuid,util-linux" 36PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl" 37PACKAGECONFIG[pcre] = "--enable-pcre,--disable-pcre,libpcre" 38PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" 39 40# Let aclocal use the relative path for the m4 file rather than 41# absolute, otherwise there might be an "Argument list too long" error 42# when it is built in a long/deep directory. 43acpaths = "-I ./m4" 44