summaryrefslogtreecommitdiff
path: root/package/lighttpd
diff options
context:
space:
mode:
authorDanomi Mocelopolis <d_mo1234@yahoo.com>2011-10-28 15:09:23 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-10-28 15:09:23 +0200
commit92bf824b7d71ba735f40d3d43c116dea1cddde72 (patch)
tree0fa286cefee1b9bcf3def7830002dfaa03a70279 /package/lighttpd
parent2c8502e8211d6153830929110611ce18956ae42c (diff)
lighttpd: add lua support
Closes #4381 Signed-off-by: Danomi Mocelopolis <d_mo1234@yahoo.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/lighttpd')
-rw-r--r--package/lighttpd/Config.in7
-rw-r--r--package/lighttpd/lighttpd.mk7
2 files changed, 14 insertions, 0 deletions
diff --git a/package/lighttpd/Config.in b/package/lighttpd/Config.in
index a822d9021..cb759ff46 100644
--- a/package/lighttpd/Config.in
+++ b/package/lighttpd/Config.in
@@ -44,4 +44,11 @@ config BR2_PACKAGE_LIGHTTPD_WEBDAV
help
Enable webdav support. Needed to support mod_webdav
+config BR2_PACKAGE_LIGHTTPD_LUA
+ bool "lua support"
+ depends on BR2_PACKAGE_LIGHTTPD
+ select BR2_PACKAGE_LUA
+ help
+ Enable Lua support. Needed to support mod_magnet
+
endif
diff --git a/package/lighttpd/lighttpd.mk b/package/lighttpd/lighttpd.mk
index 10aa4c8e4..3f11be33b 100644
--- a/package/lighttpd/lighttpd.mk
+++ b/package/lighttpd/lighttpd.mk
@@ -49,6 +49,13 @@ else
LIGHTTPD_CONF_OPT += --without-webdav-props --without-webdav-locks
endif
+ifeq ($(BR2_PACKAGE_LIGHTTPD_LUA),y)
+LIGHTTPD_DEPENDENCIES += lua
+LIGHTTPD_CONF_OPT += --with-lua
+else
+LIGHTTPD_CONF_OPT += --without-lua
+endif
+
define LIGHTTPD_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/sbin/lighttpd
rm -f $(TARGET_DIR)/usr/sbin/lighttpd-angel