and refactor with luarocks infra
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
#
################################################################################
-COXPCALL_VERSION = 1.13.0
-COXPCALL_SITE = http://luaforge.net/frs/download.php/3406
+COXPCALL_VERSION = 1.14.0-1
+COXPCALL_SUBDIR = coxpcall-1_14_0
COXPCALL_LICENSE = MIT
-define COXPCALL_INSTALL_TARGET_CMDS
- $(INSTALL) -m 0644 -D $(@D)/src/coxpcall.lua \
- $(TARGET_DIR)/usr/share/lua/5.1/coxpcall.lua
-endef
-
-$(eval $(generic-package))
+$(eval $(luarocks-package))