blob: 07e8d8e8718fa82d8ef16628dfcdcca40268b143 [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 -05006
Patrick Williamsc124f4f2015-09-15 14:41:29 -05007inherit autotools gettext texinfo update-alternatives pkgconfig
8
Brad Bishop19323692019-04-05 15:28:33 -04009EXTRA_OECONF = "--without-libgnutls-prefix --without-libssl-prefix \
10 --disable-rpath"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011
Brad Bishop316dfdd2018-06-25 12:45:53 -040012EXTRA_OEMAKE += 'TOOLCHAIN_OPTIONS="${TOOLCHAIN_OPTIONS}" \
13 DEBUG_PREFIX_MAP="${DEBUG_PREFIX_MAP}"'
14
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015ALTERNATIVE_${PN} = "wget"
16ALTERNATIVE_${PN}_class-nativesdk = ""
17ALTERNATIVE_PRIORITY = "100"
18
19RRECOMMENDS_${PN} += "ca-certificates"
20
Brad Bishop6e60e8b2018-02-01 10:27:11 -050021BBCLASSEXTEND = "nativesdk"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022
Brad Bishop19323692019-04-05 15:28:33 -040023PACKAGECONFIG ??= "gnutls pcre zlib \
24 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
25PACKAGECONFIG[ares] = "--with-cares,--without-cares,c-ares"
26PACKAGECONFIG[gnutls] = "--with-ssl=gnutls,,gnutls"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060027PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
Brad Bishop19323692019-04-05 15:28:33 -040028PACKAGECONFIG[iri] = "--enable-iri,--disable-iri,libidn2"
29PACKAGECONFIG[libpsl] = "--with-libpsl,--without-libpsl,libpsl"
30PACKAGECONFIG[libuuid] = "--with-libuuid,--without-libuuid,util-linux"
31PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl"
32PACKAGECONFIG[pcre] = "--enable-pcre,--disable-pcre,libpcre"
33PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050034
35# Let aclocal use the relative path for the m4 file rather than
36# absolute, otherwise there might be an "Argument list too long" error
37# when it is built in a long/deep directory.
38acpaths = "-I ./m4"