kumquat-buildroot/package/libmicrohttpd/libmicrohttpd.mk
Peter Korsgaard 65600edcaa libmicrohttpd: bump version
The old 0.4.2 version doesn't seem to be available on the GNU mirrors
anymore, so change to the slightly-less-ancient 0.4.6 version.

We're not moving to the new 0.9.x series yet, as that one needs an
external libgnutls for https support, which we don't have a BR
package for yet.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-19 23:52:40 +01:00

20 lines
610 B
Makefile

#############################################################
#
# libmicrohttpd
#
#############################################################
LIBMICROHTTPD_VERSION = 0.4.6
LIBMICROHTTPD_SOURCE = libmicrohttpd-$(LIBMICROHTTPD_VERSION).tar.gz
LIBMICROHTTPD_SITE = $(BR2_GNU_MIRROR)/libmicrohttpd
LIBMICROHTTPD_INSTALL_STAGING = YES
ifeq ($(BR2_PACKAGE_LIBMICROHTTPD_SSL),y)
LIBMICROHTTPD_DEPENDENCIES += libgcrypt
LIBMICROHTTPD_CONF_OPT += --enable-https \
--with-libgcrypt-prefix=$(STAGING_DIR)/usr
else
LIBMICROHTTPD_CONF_OPT += --disable-https
endif
$(eval $(call AUTOTARGETS,package,libmicrohttpd))