blob: 1299edb720be6145902a113631591a6abb432284 [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
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008inherit autotools gettext texinfo update-alternatives pkgconfig
9
Patrick Williamsc0f7c042017-02-23 20:41:17 -060010EXTRA_OECONF = "--with-ssl=gnutls --disable-rpath --disable-iri \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011 --without-libgnutls-prefix ac_cv_header_uuid_uuid_h=no"
12
13ALTERNATIVE_${PN} = "wget"
14ALTERNATIVE_${PN}_class-nativesdk = ""
15ALTERNATIVE_PRIORITY = "100"
16
17RRECOMMENDS_${PN} += "ca-certificates"
18
Brad Bishop6e60e8b2018-02-01 10:27:11 -050019BBCLASSEXTEND = "nativesdk"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020
Brad Bishop6e60e8b2018-02-01 10:27:11 -050021PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022PACKAGECONFIG[libuuid] = "--with-libuuid, --without-libuuid,util-linux"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060023PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050024
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.
28acpaths = "-I ./m4"