summaryrefslogtreecommitdiffstats
path: root/package/copas/copas.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2010-05-10 14:52:27 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2010-06-05 22:13:37 +0200
commitbfce1e4cbcd995792e5fe92c4c1f2d0e77d52618 (patch)
tree15ec4ec8cf7548716dced4b3bd2b53a088113024 /package/copas/copas.mk
parentb9b76f7441b2608d1ec3c8c40527dca4ce360bf1 (diff)
downloadbuildroot-novena-bfce1e4cbcd995792e5fe92c4c1f2d0e77d52618.tar.gz
buildroot-novena-bfce1e4cbcd995792e5fe92c4c1f2d0e77d52618.zip
New lua module: copas
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/copas/copas.mk')
-rw-r--r--package/copas/copas.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/copas/copas.mk b/package/copas/copas.mk
new file mode 100644
index 000000000..1baed8356
--- /dev/null
+++ b/package/copas/copas.mk
@@ -0,0 +1,20 @@
+#############################################################
+#
+# copas
+#
+#############################################################
+
+COPAS_VERSION = 1.1.6
+COPAS_SITE = http://github.com/downloads/keplerproject/copas
+COPAS_DEPENDENCIES = lua coxpcall luasocket
+
+define COPAS_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0644 -D $(@D)/src/copas/copas.lua \
+ $(TARGET_DIR)/usr/share/lua/copas.lua
+endef
+
+define COPAS_UNINSTALL_TARGET_CMDS
+ rm -f "$(TARGET_DIR)/usr/share/lua/copas.lua"
+endef
+
+$(eval $(call GENTARGETS,package,copas))