1 ################################################################################
5 ################################################################################
8 WGET_SOURCE
= wget-
$(WGET_VERSION
).
tar.xz
9 WGET_SITE
= $(BR2_GNU_MIRROR
)/wget
10 WGET_DEPENDENCIES
= host-pkgconf
12 WGET_LICENSE_FILES
= COPYING
14 # Prefer full-blown wget over busybox
15 ifeq ($(BR2_PACKAGE_BUSYBOX
),y
)
16 WGET_DEPENDENCIES
+= busybox
19 ifeq ($(BR2_PACKAGE_GNUTLS
),y
)
20 WGET_CONF_OPTS
+= --with-ssl
=gnutls
21 WGET_DEPENDENCIES
+= gnutls
22 else ifeq ($(BR2_PACKAGE_OPENSSL
),y
)
23 WGET_CONF_OPTS
+= --with-ssl
=openssl
24 WGET_DEPENDENCIES
+= openssl
26 WGET_CONF_OPTS
+= --without-ssl
29 ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID
),y
)
30 WGET_DEPENDENCIES
+= util-linux
33 $(eval
$(autotools-package
))