kumquat-buildroot/package/coxpcall/coxpcall.mk
Thomas Petazzoni 0849e8193e package: remove useless arguments from GENTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
GENTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:09:58 +02:00

21 lines
509 B
Makefile

#############################################################
#
# coxpcall
#
#############################################################
COXPCALL_VERSION = 1.13.0
COXPCALL_SITE = http://luaforge.net/frs/download.php/3406
COXPCALL_DEPENDENCIES = lua
define COXPCALL_INSTALL_TARGET_CMDS
$(INSTALL) -m 0644 -D $(@D)/src/coxpcall.lua \
$(TARGET_DIR)/usr/share/lua/coxpcall.lua
endef
define COXPCALL_UNINSTALL_TARGET_CMDS
rm -f "$(TARGET_DIR)/usr/share/lua/coxpcall.lua"
endef
$(eval $(call GENTARGETS))