e1502ebc0c
Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
24 lines
674 B
Makefile
24 lines
674 B
Makefile
#############################################################
|
|
#
|
|
# xavante
|
|
#
|
|
#############################################################
|
|
|
|
XAVANTE_VERSION = 2.2.1
|
|
XAVANTE_SITE = http://github.com/downloads/keplerproject/xavante
|
|
XAVANTE_DEPENDENCIES = cgilua copas coxpcall lua luafilesystem luasocket wsapi
|
|
|
|
define XAVANTE_INSTALL_TARGET_CMDS
|
|
$(MAKE) -C $(@D) PREFIX=/usr \
|
|
LUA_DIR="$(TARGET_DIR)/usr/share/lua" \
|
|
LUA_LIBDIR="$(TARGET_DIR)/usr/lib/lua" install
|
|
endef
|
|
|
|
define XAVANTE_UNINSTALL_TARGET_CMDS
|
|
rm -rf "$(TARGET_DIR)/usr/share/xavante"
|
|
rm -f "$(TARGET_DIR)/usr/share/xavante.lua"
|
|
rm -f "$(TARGET_DIR)/usr/share/sajax.lua"
|
|
endef
|
|
|
|
$(eval $(generic-package))
|