Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Console URL download utility supporting HTTP, FTP, etc" |
Brad Bishop | f3f93bb | 2019-10-16 14:33:32 -0400 | [diff] [blame] | 2 | DESCRIPTION = "Wget is a network utility to retrieve files from the web using \ |
| 3 | HTTP(S) and FTP, the two most widely used internet protocols. It works \ |
| 4 | non-interactively, so it will work in the background, after having logged off. \ |
| 5 | The program supports recursive retrieval of web-authoring pages as well as \ |
| 6 | FTP sites" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 7 | HOMEPAGE = "https://www.gnu.org/software/wget/" |
| 8 | SECTION = "console/network" |
| 9 | LICENSE = "GPLv3" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 11 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 12 | inherit autotools gettext texinfo update-alternatives pkgconfig |
| 13 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 14 | EXTRA_OECONF = "--without-libgnutls-prefix --without-libssl-prefix \ |
| 15 | --disable-rpath" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 16 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 17 | EXTRA_OEMAKE += 'TOOLCHAIN_OPTIONS="${TOOLCHAIN_OPTIONS}" \ |
| 18 | DEBUG_PREFIX_MAP="${DEBUG_PREFIX_MAP}"' |
| 19 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 20 | ALTERNATIVE:${PN} = "wget" |
| 21 | ALTERNATIVE:${PN}:class-nativesdk = "" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 22 | ALTERNATIVE_PRIORITY = "100" |
| 23 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 24 | RRECOMMENDS:${PN} += "ca-certificates" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 25 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 26 | BBCLASSEXTEND = "nativesdk" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 27 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 28 | PACKAGECONFIG ??= "gnutls pcre zlib \ |
| 29 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" |
| 30 | PACKAGECONFIG[ares] = "--with-cares,--without-cares,c-ares" |
| 31 | PACKAGECONFIG[gnutls] = "--with-ssl=gnutls,,gnutls" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 32 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 33 | PACKAGECONFIG[iri] = "--enable-iri,--disable-iri,libidn2" |
| 34 | PACKAGECONFIG[libpsl] = "--with-libpsl,--without-libpsl,libpsl" |
| 35 | PACKAGECONFIG[libuuid] = "--with-libuuid,--without-libuuid,util-linux" |
| 36 | PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl" |
| 37 | PACKAGECONFIG[pcre] = "--enable-pcre,--disable-pcre,libpcre" |
| 38 | PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 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. |
| 43 | acpaths = "-I ./m4" |