2013-06-06 07:53:30 +08:00
|
|
|
################################################################################
|
2009-09-15 20:37:54 +08:00
|
|
|
#
|
|
|
|
# libmicrohttpd
|
|
|
|
#
|
2013-06-06 07:53:30 +08:00
|
|
|
################################################################################
|
2012-12-26 11:55:49 +08:00
|
|
|
|
2015-02-20 05:44:30 +08:00
|
|
|
LIBMICROHTTPD_VERSION = 0.9.39
|
2011-02-20 06:50:33 +08:00
|
|
|
LIBMICROHTTPD_SITE = $(BR2_GNU_MIRROR)/libmicrohttpd
|
2013-06-27 19:40:27 +08:00
|
|
|
LIBMICROHTTPD_LICENSE_FILES = COPYING
|
2009-09-15 20:37:54 +08:00
|
|
|
LIBMICROHTTPD_INSTALL_STAGING = YES
|
2015-02-20 05:44:30 +08:00
|
|
|
LIBMICROHTTPD_CONF_OPTS = --disable-curl --disable-spdy --disable-examples
|
2009-09-15 20:37:54 +08:00
|
|
|
|
2011-02-20 06:37:40 +08:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBMICROHTTPD_SSL),y)
|
2013-06-27 02:49:40 +08:00
|
|
|
LIBMICROHTTPD_LICENSE = LGPLv2.1+
|
2015-02-03 17:24:36 +08:00
|
|
|
LIBMICROHTTPD_DEPENDENCIES += host-pkgconf gnutls libgcrypt
|
|
|
|
LIBMICROHTTPD_CONF_ENV += LIBS="$(shell $(PKG_CONFIG_HOST_BINARY) --libs gnutls)"
|
2014-09-28 03:32:44 +08:00
|
|
|
LIBMICROHTTPD_CONF_OPTS += --enable-https --with-gnutls=$(STAGING_DIR)/usr \
|
2013-06-27 02:49:40 +08:00
|
|
|
--with-libgcrypt-prefix=$(STAGING_DIR)/usr
|
2011-02-20 06:37:40 +08:00
|
|
|
else
|
2013-06-27 02:49:40 +08:00
|
|
|
LIBMICROHTTPD_LICENSE = LGPLv2.1+ or eCos
|
2014-09-28 03:32:44 +08:00
|
|
|
LIBMICROHTTPD_CONF_OPTS += --disable-https
|
2011-02-20 06:37:40 +08:00
|
|
|
endif
|
2009-09-15 20:37:54 +08:00
|
|
|
|
2012-07-03 06:07:32 +08:00
|
|
|
$(eval $(autotools-package))
|