blob: 233832821618387d4c1ee77bf95e362a9a7798f3 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Console URL download utility supporting HTTP, FTP, etc"
Brad Bishopf3f93bb2019-10-16 14:33:32 -04002DESCRIPTION = "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"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05007HOMEPAGE = "https://www.gnu.org/software/wget/"
8SECTION = "console/network"
9LICENSE = "GPLv3"
Brad Bishop316dfdd2018-06-25 12:45:53 -040010LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011
Patrick Williamsc124f4f2015-09-15 14:41:29 -050012inherit autotools gettext texinfo update-alternatives pkgconfig
13
Brad Bishop19323692019-04-05 15:28:33 -040014EXTRA_OECONF = "--without-libgnutls-prefix --without-libssl-prefix \
15 --disable-rpath"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050016
Brad Bishop316dfdd2018-06-25 12:45:53 -040017EXTRA_OEMAKE += 'TOOLCHAIN_OPTIONS="${TOOLCHAIN_OPTIONS}" \
18 DEBUG_PREFIX_MAP="${DEBUG_PREFIX_MAP}"'
19
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020ALTERNATIVE_${PN} = "wget"
21ALTERNATIVE_${PN}_class-nativesdk = ""
22ALTERNATIVE_PRIORITY = "100"
23
24RRECOMMENDS_${PN} += "ca-certificates"
25
Brad Bishop6e60e8b2018-02-01 10:27:11 -050026BBCLASSEXTEND = "nativesdk"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050027
Brad Bishop19323692019-04-05 15:28:33 -040028PACKAGECONFIG ??= "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"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060032PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
Brad Bishop19323692019-04-05 15:28:33 -040033PACKAGECONFIG[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"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050039
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"