summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2010-05-10 17:49:36 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-06-05 19:57:47 (GMT)
commit15ec5ee82128f2f7225df10f3bf54d46eb7af95d (patch)
tree0c7d953c0d42499aae4b2220266b217291092f7f
parent50d6f2dde4db8c9d042294a09d5e8e120aec9987 (diff)
downloadbuildroot-15ec5ee82128f2f7225df10f3bf54d46eb7af95d.tar.gz
buildroot-15ec5ee82128f2f7225df10f3bf54d46eb7af95d.tar.bz2
New lua module: cgilua
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--CHANGES2
-rw-r--r--package/Config.in1
-rw-r--r--package/cgilua/Config.in10
-rw-r--r--package/cgilua/cgilua.mk20
4 files changed, 32 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index d4d4253..17d4a69 100644
--- a/CHANGES
+++ b/CHANGES
@@ -4,7 +4,7 @@
New GTK-based configurator, usable using 'make gconfig'.
- New packages: coxpcall, luafilesystem, rings
+ New packages: cgilua, coxpcall, luafilesystem, rings
Updated/fixed packages: cdrkit, libidn, netperf
diff --git a/package/Config.in b/package/Config.in
index 92a3335..bfbb12c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -208,6 +208,7 @@ source "package/haserl/Config.in"
source "package/java/jamvm/Config.in"
source "package/lua/Config.in"
if BR2_PACKAGE_LUA
+source "package/cgilua/Config.in"
source "package/coxpcall/Config.in"
source "package/luafilesystem/Config.in"
source "package/rings/Config.in"
diff --git a/package/cgilua/Config.in b/package/cgilua/Config.in
new file mode 100644
index 0000000..aba4c24
--- /dev/null
+++ b/package/cgilua/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_CGILUA
+ bool "cgilua"
+ depends on BR2_LARGEFILE
+ depends on BR2_PACKAGE_LUA_SHARED_LIBRARY
+ select BR2_PACKAGE_LUAFILESYSTEM
+ help
+ CGILua is a tool for creating dynamic HTML pages
+ and manipulating input data from Web forms.
+
+ http://luaforge.net/projects/cgilua/
diff --git a/package/cgilua/cgilua.mk b/package/cgilua/cgilua.mk
new file mode 100644
index 0000000..9d524cd
--- /dev/null
+++ b/package/cgilua/cgilua.mk
@@ -0,0 +1,20 @@
+#############################################################
+#
+# cgilua
+#
+#############################################################
+
+CGILUA_VERSION = 5.1.3
+CGILUA_SITE = http://luaforge.net/frs/download.php/3970
+CGILUA_DEPENDENCIES = luafilesystem
+
+define CGILUA_INSTALL_TARGET_CMDS
+ $(MAKE) -C $(@D) install LUA_DIR="$(TARGET_DIR)/usr/share/lua"
+endef
+
+define CGILUA_UNINSTALL_TARGET_CMDS
+ rm -rf "$(TARGET_DIR)/usr/share/lua/cgilua"
+ rm -f "$(TARGET_DIR)/usr/share/lua/cgilua.lua"
+endef
+
+$(eval $(call GENTARGETS,package,cgilua))