kumquat-buildroot/package/copas/copas.mk

21 lines
512 B
Makefile
Raw Normal View History

#############################################################
#
# 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))