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" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 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 | |
| 13 | ALTERNATIVE_${PN} = "wget" |
| 14 | ALTERNATIVE_${PN}_class-nativesdk = "" |
| 15 | ALTERNATIVE_PRIORITY = "100" |
| 16 | |
| 17 | RRECOMMENDS_${PN} += "ca-certificates" |
| 18 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 19 | BBCLASSEXTEND = "nativesdk" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 20 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 21 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 22 | PACKAGECONFIG[libuuid] = "--with-libuuid, --without-libuuid,util-linux" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 23 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 24 | |
| 25 | # Let aclocal use the relative path for the m4 file rather than |
| 26 | # absolute, otherwise there might be an "Argument list too long" error |
| 27 | # when it is built in a long/deep directory. |
| 28 | acpaths = "-I ./m4" |