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 | DEPENDS = "gnutls zlib libpcre" |
| 7 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 8 | inherit autotools gettext texinfo update-alternatives pkgconfig |
| 9 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 10 | EXTRA_OECONF = "--with-ssl=gnutls --disable-rpath --disable-iri \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 11 | --without-libgnutls-prefix ac_cv_header_uuid_uuid_h=no" |
| 12 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 13 | EXTRA_OEMAKE += 'TOOLCHAIN_OPTIONS="${TOOLCHAIN_OPTIONS}" \ |
| 14 | DEBUG_PREFIX_MAP="${DEBUG_PREFIX_MAP}"' |
| 15 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 16 | ALTERNATIVE_${PN} = "wget" |
| 17 | ALTERNATIVE_${PN}_class-nativesdk = "" |
| 18 | ALTERNATIVE_PRIORITY = "100" |
| 19 | |
| 20 | RRECOMMENDS_${PN} += "ca-certificates" |
| 21 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 22 | BBCLASSEXTEND = "nativesdk" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 23 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 24 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 25 | PACKAGECONFIG[libuuid] = "--with-libuuid, --without-libuuid,util-linux" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 26 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 27 | |
| 28 | # Let aclocal use the relative path for the m4 file rather than |
| 29 | # absolute, otherwise there might be an "Argument list too long" error |
| 30 | # when it is built in a long/deep directory. |
| 31 | acpaths = "-I ./m4" |