1 ################################################################################
5 ################################################################################
7 UHTTPD_VERSION
= 59e0c739634f46a164d939e54416287b91ff8a9b
8 UHTTPD_SITE
= http
://git.openwrt.org
/project
/uhttpd.git
9 UHTTPD_SITE_METHOD
= git
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
18 UHTTPD_CONF_OPTS
+= -DLUA_SUPPORT
=OFF
21 ifeq ($(BR2_PACKAGE_USTREAM_SSL
),y
)
22 UHTTPD_DEPENDENCIES
+= ustream-ssl
23 UHTTPD_CONF_OPTS
+= -DTLS_SUPPORT
=ON
25 UHTTPD_CONF_OPTS
+= -DTLS_SUPPORT
=OFF
28 ifeq ($(BR2_PACKAGE_UBUS
),y
)
29 UHTTPD_DEPENDENCIES
+= ubus
30 UHTTPD_CONF_OPTS
+= -DUBUS_SUPPORT
=ON
32 UHTTPD_CONF_OPTS
+= -DUBUS_SUPPORT
=OFF
35 $(eval
$(cmake-package
))