summaryrefslogtreecommitdiff
path: root/package/xavante/xavante.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2010-05-10 14:56:24 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2010-06-05 22:15:24 +0200
commitdb7b08447001c169f48cc5e4a2e67b9d2e54b045 (patch)
treec0875fb34a26bf9de2bd6d8696abaa75b9ce45e3 /package/xavante/xavante.mk
parente5d578a6e2ea8244d7e6de12747930b0f2e3393b (diff)
New lua module: xavante
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/xavante/xavante.mk')
-rw-r--r--package/xavante/xavante.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/xavante/xavante.mk b/package/xavante/xavante.mk
new file mode 100644
index 000000000..525b09f40
--- /dev/null
+++ b/package/xavante/xavante.mk
@@ -0,0 +1,23 @@
+#############################################################
+#
+# xavante
+#
+#############################################################
+
+XAVANTE_VERSION = 2.2.0
+XAVANTE_SITE = http://github.com/downloads/keplerproject/xavante
+XAVANTE_DEPENDENCIES = cgilua copas coxpcall lua luafilesystem luasocket wsapi
+
+define XAVANTE_INSTALL_TARGET_CMDS
+ $(MAKE) -C $(@D) PREFIX=/usr \
+ LUA_DIR="$(TARGET_DIR)/usr/share/lua" \
+ LUA_LIBDIR="$(TARGET_DIR)/usr/lib/lua" install
+endef
+
+define XAVANTE_UNINSTALL_TARGET_CMDS
+ rm -rf "$(TARGET_DIR)/usr/share/xavante"
+ rm -f "$(TARGET_DIR)/usr/share/xavante.lua"
+ rm -f "$(TARGET_DIR)/usr/share/sajax.lua"
+endef
+
+$(eval $(call GENTARGETS,package,xavante))