blob: c4abfe490e0dedb750d81387f55de0a1e72070a9 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Console URL download utility supporting HTTP, FTP, etc"
2HOMEPAGE = "https://www.gnu.org/software/wget/"
3SECTION = "console/network"
4LICENSE = "GPLv3"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
6DEPENDS = "gnutls zlib libpcre"
7
8INC_PR = "r16"
9
10inherit autotools gettext texinfo update-alternatives pkgconfig
11
Patrick Williamsc0f7c042017-02-23 20:41:17 -060012EXTRA_OECONF = "--with-ssl=gnutls --disable-rpath --disable-iri \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050013 --without-libgnutls-prefix ac_cv_header_uuid_uuid_h=no"
14
15ALTERNATIVE_${PN} = "wget"
16ALTERNATIVE_${PN}_class-nativesdk = ""
17ALTERNATIVE_PRIORITY = "100"
18
19RRECOMMENDS_${PN} += "ca-certificates"
20
21BBCLASSEXTEND += "nativesdk"
22
Patrick Williamsc0f7c042017-02-23 20:41:17 -060023PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050024PACKAGECONFIG[libuuid] = "--with-libuuid, --without-libuuid,util-linux"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060025PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050026
27# Let aclocal use the relative path for the m4 file rather than
28# absolute, otherwise there might be an "Argument list too long" error
29# when it is built in a long/deep directory.
30acpaths = "-I ./m4"