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 | |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 14 | DEPENDS += "autoconf-archive" |
| 15 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 16 | EXTRA_OECONF = "--without-libgnutls-prefix --without-libssl-prefix \ |
| 17 | --disable-rpath" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 18 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 19 | EXTRA_OEMAKE += 'TOOLCHAIN_OPTIONS="${TOOLCHAIN_OPTIONS}" \ |
| 20 | DEBUG_PREFIX_MAP="${DEBUG_PREFIX_MAP}"' |
| 21 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 22 | ALTERNATIVE:${PN} = "wget" |
| 23 | ALTERNATIVE:${PN}:class-nativesdk = "" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 24 | ALTERNATIVE_PRIORITY = "100" |
| 25 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 26 | RRECOMMENDS:${PN} += "ca-certificates" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 27 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 28 | BBCLASSEXTEND = "nativesdk" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 29 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 30 | PACKAGECONFIG ??= "gnutls pcre zlib \ |
| 31 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" |
| 32 | PACKAGECONFIG[ares] = "--with-cares,--without-cares,c-ares" |
| 33 | PACKAGECONFIG[gnutls] = "--with-ssl=gnutls,,gnutls" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 34 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 35 | PACKAGECONFIG[iri] = "--enable-iri,--disable-iri,libidn2" |
| 36 | PACKAGECONFIG[libpsl] = "--with-libpsl,--without-libpsl,libpsl" |
| 37 | PACKAGECONFIG[libuuid] = "--with-libuuid,--without-libuuid,util-linux" |
| 38 | PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl" |
| 39 | PACKAGECONFIG[pcre] = "--enable-pcre,--disable-pcre,libpcre" |
| 40 | PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 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. |
| 45 | acpaths = "-I ./m4" |