summaryrefslogtreecommitdiff
path: root/package/coxpcall/coxpcall.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/coxpcall/coxpcall.mk')
-rw-r--r--package/coxpcall/coxpcall.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/coxpcall/coxpcall.mk b/package/coxpcall/coxpcall.mk
new file mode 100644
index 000000000..b9475711d
--- /dev/null
+++ b/package/coxpcall/coxpcall.mk
@@ -0,0 +1,20 @@
+#############################################################
+#
+# coxpcall
+#
+#############################################################
+
+COXPCALL_VERSION = 1.13.0
+COXPCALL_SITE = http://luaforge.net/frs/download.php/3406
+COXPCALL_DEPENDENCIES = lua
+
+define COXPCALL_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0644 -D $(@D)/src/coxpcall.lua \
+ $(TARGET_DIR)/usr/share/lua/coxpcall.lua
+endef
+
+define COXPCALL_UNINSTALL_TARGET_CMDS
+ rm -f "$(TARGET_DIR)/usr/share/lua/coxpcall.lua"
+endef
+
+$(eval $(call GENTARGETS,package,coxpcall))