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
|
|
|
|
2013-05-06 22:31:26 +08:00
|
|
|
LIBMICROHTTPD_VERSION = 0.9.27
|
2011-02-20 06:50:33 +08:00
|
|
|
LIBMICROHTTPD_SITE = $(BR2_GNU_MIRROR)/libmicrohttpd
|
2013-06-27 02:49:40 +08:00
|
|
|
LIBMICROHTTPD_LICENSE_FILE = COPYING
|
2009-09-15 20:37:54 +08:00
|
|
|
LIBMICROHTTPD_INSTALL_STAGING = YES
|
|
|
|
|
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+
|
2012-12-26 11:55:49 +08:00
|
|
|
LIBMICROHTTPD_DEPENDENCIES += gnutls libgcrypt
|
|
|
|
LIBMICROHTTPD_CONF_OPT += --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
|
2011-02-20 06:37:40 +08:00
|
|
|
LIBMICROHTTPD_CONF_OPT += --disable-https
|
|
|
|
endif
|
2009-09-15 20:37:54 +08:00
|
|
|
|
2012-07-03 06:07:32 +08:00
|
|
|
$(eval $(autotools-package))
|