aboutsummaryrefslogtreecommitdiffstats
path: root/package/copas/copas.mk
blob: cd9ab7a37e5dd145062cb1f0ecc3692bbaf2ea3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 $(generic-package))