2010-05-10 19:56:24 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# xavante
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2012-06-01 08:02:07 +02:00
|
|
|
XAVANTE_VERSION = 2.2.1
|
2010-05-10 19:56:24 +02:00
|
|
|
XAVANTE_SITE = http://github.com/downloads/keplerproject/xavante
|
|
|
|
XAVANTE_DEPENDENCIES = cgilua copas coxpcall lua luafilesystem luasocket wsapi
|
2012-08-06 07:46:47 +02:00
|
|
|
XAVANTE_LICENSE = MIT
|
2010-05-10 19:56:24 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|