blob: 3cff656a68d9aea13271a7d695fab045e71b9454 [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"
Brad Bishop316dfdd2018-06-25 12:45:53 -04005LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05006DEPENDS = "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
Brad Bishop316dfdd2018-06-25 12:45:53 -040013EXTRA_OEMAKE += 'TOOLCHAIN_OPTIONS="${TOOLCHAIN_OPTIONS}" \
14 DEBUG_PREFIX_MAP="${DEBUG_PREFIX_MAP}"'
15
Patrick Williamsc124f4f2015-09-15 14:41:29 -050016ALTERNATIVE_${PN} = "wget"
17ALTERNATIVE_${PN}_class-nativesdk = ""
18ALTERNATIVE_PRIORITY = "100"
19
20RRECOMMENDS_${PN} += "ca-certificates"
21
Brad Bishop6e60e8b2018-02-01 10:27:11 -050022BBCLASSEXTEND = "nativesdk"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050023
Brad Bishop6e60e8b2018-02-01 10:27:11 -050024PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050025PACKAGECONFIG[libuuid] = "--with-libuuid, --without-libuuid,util-linux"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060026PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050027
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.
31acpaths = "-I ./m4"