2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-09-15 14:37:54 +02:00
|
|
|
#
|
|
|
|
# libmicrohttpd
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-12-26 04:55:49 +01:00
|
|
|
|
2014-05-26 03:42:09 +02:00
|
|
|
LIBMICROHTTPD_VERSION = 0.9.36
|
2011-02-19 23:50:33 +01:00
|
|
|
LIBMICROHTTPD_SITE = $(BR2_GNU_MIRROR)/libmicrohttpd
|
2013-06-27 13:40:27 +02:00
|
|
|
LIBMICROHTTPD_LICENSE_FILES = COPYING
|
2009-09-15 14:37:54 +02:00
|
|
|
LIBMICROHTTPD_INSTALL_STAGING = YES
|
2014-03-01 19:41:49 +01:00
|
|
|
LIBMICROHTTPD_CONF_OPT = --disable-curl --disable-spdy
|
2009-09-15 14:37:54 +02:00
|
|
|
|
2011-02-19 23:37:40 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBMICROHTTPD_SSL),y)
|
2013-06-26 20:49:40 +02:00
|
|
|
LIBMICROHTTPD_LICENSE = LGPLv2.1+
|
2012-12-26 04:55:49 +01:00
|
|
|
LIBMICROHTTPD_DEPENDENCIES += gnutls libgcrypt
|
|
|
|
LIBMICROHTTPD_CONF_OPT += --enable-https --with-gnutls=$(STAGING_DIR)/usr \
|
2013-06-26 20:49:40 +02:00
|
|
|
--with-libgcrypt-prefix=$(STAGING_DIR)/usr
|
2011-02-19 23:37:40 +01:00
|
|
|
else
|
2013-06-26 20:49:40 +02:00
|
|
|
LIBMICROHTTPD_LICENSE = LGPLv2.1+ or eCos
|
2011-02-19 23:37:40 +01:00
|
|
|
LIBMICROHTTPD_CONF_OPT += --disable-https
|
|
|
|
endif
|
2009-09-15 14:37:54 +02:00
|
|
|
|
2013-11-10 23:33:54 +01:00
|
|
|
ifeq ($(BR2_avr32),y)
|
|
|
|
# no epoll_create1
|
|
|
|
LIBMICROHTTPD_CONF_OPT += --disable-epoll
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|