summaryrefslogtreecommitdiffstats
path: root/package/cgilua/cgilua.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2010-05-10 14:49:36 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2010-06-05 21:57:47 +0200
commit15ec5ee82128f2f7225df10f3bf54d46eb7af95d (patch)
tree0c7d953c0d42499aae4b2220266b217291092f7f /package/cgilua/cgilua.mk
parent50d6f2dde4db8c9d042294a09d5e8e120aec9987 (diff)
downloadbuildroot-novena-15ec5ee82128f2f7225df10f3bf54d46eb7af95d.tar.gz
buildroot-novena-15ec5ee82128f2f7225df10f3bf54d46eb7af95d.zip
New lua module: cgilua
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/cgilua/cgilua.mk')
-rw-r--r--package/cgilua/cgilua.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/cgilua/cgilua.mk b/package/cgilua/cgilua.mk
new file mode 100644
index 000000000..9d524cd33
--- /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))