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 = "GPL-3.0-only" 10LIC_FILES_CHKSUM = "file://COPYING;md5=6f65012d1daf98cb09b386cfb68df26b" 11 12inherit autotools gettext texinfo update-alternatives pkgconfig 13 14DEPENDS += "autoconf-archive-native" 15 16EXTRA_OECONF = "--without-libgnutls-prefix --without-libssl-prefix \ 17 --disable-rpath" 18 19EXTRA_OEMAKE += 'TOOLCHAIN_OPTIONS="${TOOLCHAIN_OPTIONS}" \ 20 DEBUG_PREFIX_MAP="${DEBUG_PREFIX_MAP}"' 21 22ALTERNATIVE:${PN} = "wget" 23ALTERNATIVE:${PN}:class-nativesdk = "" 24ALTERNATIVE_PRIORITY = "100" 25 26RRECOMMENDS:${PN} += "ca-certificates" 27 28BBCLASSEXTEND = "nativesdk" 29 30PACKAGECONFIG ??= "gnutls pcre zlib \ 31 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" 32PACKAGECONFIG[ares] = "--with-cares,--without-cares,c-ares" 33PACKAGECONFIG[gnutls] = "--with-ssl=gnutls,,gnutls" 34PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," 35PACKAGECONFIG[iri] = "--enable-iri,--disable-iri,libidn2" 36PACKAGECONFIG[libpsl] = "--with-libpsl,--without-libpsl,libpsl" 37PACKAGECONFIG[libuuid] = "--with-libuuid,--without-libuuid,util-linux" 38PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl" 39PACKAGECONFIG[pcre] = "--enable-pcre,--disable-pcre,libpcre" 40PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" 41 42# Let aclocal use the relative path for the m4 file rather than 43# absolute, otherwise there might be an "Argument list too long" error 44# when it is built in a long/deep directory. 45acpaths = "-I ./m4" 46