The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / wget / wget.mk
1 ################################################################################
2 #
3 # wget
4 #
5 ################################################################################
6
7 WGET_VERSION = 1.16.3
8 WGET_SOURCE = wget-$(WGET_VERSION).tar.xz
9 WGET_SITE = $(BR2_GNU_MIRROR)/wget
10 WGET_DEPENDENCIES = host-pkgconf
11 WGET_LICENSE = GPLv3+
12 WGET_LICENSE_FILES = COPYING
13
14 # Prefer full-blown wget over busybox
15 ifeq ($(BR2_PACKAGE_BUSYBOX),y)
16 WGET_DEPENDENCIES += busybox
17 endif
18
19 ifeq ($(BR2_PACKAGE_GNUTLS),y)
20 WGET_CONF_OPTS += \
21         --with-ssl=gnutls \
22         --with-libgnutls-prefix=$(STAGING_DIR)
23 WGET_DEPENDENCIES += gnutls
24 endif
25
26 ifeq ($(BR2_PACKAGE_OPENSSL),y)
27 WGET_CONF_OPTS += --with-ssl=openssl --with-libssl-prefix=$(STAGING_DIR)
28 WGET_DEPENDENCIES += openssl
29 endif
30
31 ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
32 WGET_DEPENDENCIES += util-linux
33 endif
34
35 # --with-ssl is default
36 ifneq ($(BR2_PACKAGE_GNUTLS),y)
37 ifneq ($(BR2_PACKAGE_OPENSSL),y)
38 WGET_CONF_OPTS += --without-ssl
39 endif
40 endif
41
42 $(eval $(autotools-package))