summaryrefslogtreecommitdiffstats
path: root/package/copas/copas.mk
blob: 1baed83563777851974423f340345fd46ef50618 (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 $(call GENTARGETS,package,copas))