aboutsummaryrefslogtreecommitdiffstats
path: root/package/copas/copas.mk
blob: 28b822c2d79e1fd648d5f6ad6e4da3d5a1fbff6d (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))