Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Console URL download utility supporting HTTP, FTP, etc" |
| 2 | HOMEPAGE = "https://www.gnu.org/software/wget/" |
| 3 | SECTION = "console/network" |
| 4 | LICENSE = "GPLv3" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 6 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 7 | inherit autotools gettext texinfo update-alternatives pkgconfig |
| 8 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 9 | EXTRA_OECONF = "--without-libgnutls-prefix --without-libssl-prefix \ |
| 10 | --disable-rpath" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 11 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 12 | EXTRA_OEMAKE += 'TOOLCHAIN_OPTIONS="${TOOLCHAIN_OPTIONS}" \ |
| 13 | DEBUG_PREFIX_MAP="${DEBUG_PREFIX_MAP}"' |
| 14 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 15 | ALTERNATIVE_${PN} = "wget" |
| 16 | ALTERNATIVE_${PN}_class-nativesdk = "" |
| 17 | ALTERNATIVE_PRIORITY = "100" |
| 18 | |
| 19 | RRECOMMENDS_${PN} += "ca-certificates" |
| 20 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 21 | BBCLASSEXTEND = "nativesdk" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 22 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 23 | PACKAGECONFIG ??= "gnutls pcre zlib \ |
| 24 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" |
| 25 | PACKAGECONFIG[ares] = "--with-cares,--without-cares,c-ares" |
| 26 | PACKAGECONFIG[gnutls] = "--with-ssl=gnutls,,gnutls" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 27 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 28 | PACKAGECONFIG[iri] = "--enable-iri,--disable-iri,libidn2" |
| 29 | PACKAGECONFIG[libpsl] = "--with-libpsl,--without-libpsl,libpsl" |
| 30 | PACKAGECONFIG[libuuid] = "--with-libuuid,--without-libuuid,util-linux" |
| 31 | PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl" |
| 32 | PACKAGECONFIG[pcre] = "--enable-pcre,--disable-pcre,libpcre" |
| 33 | PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 34 | |
| 35 | # Let aclocal use the relative path for the m4 file rather than |
| 36 | # absolute, otherwise there might be an "Argument list too long" error |
| 37 | # when it is built in a long/deep directory. |
| 38 | acpaths = "-I ./m4" |