package/opkg: add curl support
Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com> [yann.morin.1998@free.fr: drop option, use package as condition] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
00583e1c16
commit
ef2aa9e6b5
@ -10,7 +10,6 @@ OPKG_DEPENDENCIES = host-pkgconf libarchive
|
||||
OPKG_LICENSE = GPL-2.0+
|
||||
OPKG_LICENSE_FILES = COPYING
|
||||
OPKG_INSTALL_STAGING = YES
|
||||
OPKG_CONF_OPTS = --disable-curl
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPKG_GPG_SIGN),y)
|
||||
OPKG_CONF_OPTS += --enable-gpg
|
||||
@ -22,6 +21,18 @@ else
|
||||
OPKG_CONF_OPTS += --disable-gpg
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
||||
OPKG_DEPENDENCIES += libcurl
|
||||
OPKG_CONF_OPTS += --enable-curl
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
OPKG_CONF_OPTS += --enable-ssl-curl
|
||||
else
|
||||
OPKG_CONF_OPTS += --disable-ssl-curl
|
||||
endif
|
||||
else
|
||||
OPKG_CONF_OPTS += --disable-curl --disable-ssl-curl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
||||
OPKG_DEPENDENCIES += bzip2
|
||||
OPKG_CONF_OPTS += --enable-bzip2
|
||||
|
Loading…
Reference in New Issue
Block a user