python-werkzeug: bump to version 0.11.15
[buildroot-gz.git] / package / uhttpd / uhttpd.mk
blobbe0d7d63c6bd36b6caed064ea2f5800a2ecadd85
1 ################################################################################
3 # uhttpd
5 ################################################################################
7 UHTTPD_VERSION = 59e0c739634f46a164d939e54416287b91ff8a9b
8 UHTTPD_SITE = http://git.openwrt.org/project/uhttpd.git
9 UHTTPD_SITE_METHOD = git
10 UHTTPD_LICENSE = ISC
11 UHTTPD_LICENSE_FILES = uhttpd.h
12 UHTTPD_DEPENDENCIES = libubox json-c
14 ifeq ($(BR2_PACKAGE_LUA_5_1),y)
15 UHTTPD_DEPENDENCIES += lua
16 UHTTPD_CONF_OPTS += -DLUA_SUPPORT=ON
17 else
18 UHTTPD_CONF_OPTS += -DLUA_SUPPORT=OFF
19 endif
21 ifeq ($(BR2_PACKAGE_USTREAM_SSL),y)
22 UHTTPD_DEPENDENCIES += ustream-ssl
23 UHTTPD_CONF_OPTS += -DTLS_SUPPORT=ON
24 else
25 UHTTPD_CONF_OPTS += -DTLS_SUPPORT=OFF
26 endif
28 ifeq ($(BR2_PACKAGE_UBUS),y)
29 UHTTPD_DEPENDENCIES += ubus
30 UHTTPD_CONF_OPTS += -DUBUS_SUPPORT=ON
31 else
32 UHTTPD_CONF_OPTS += -DUBUS_SUPPORT=OFF
33 endif
35 $(eval $(cmake-package))