Commit db7b0844 authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Peter Korsgaard
Browse files

New lua module: xavante

parent e5d578a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
	New GTK-based configurator, usable using 'make gconfig'.

	New packages: cgilua, copas, coxpcall, luafilesystem,
	luasocket, rings, wsapi
	luasocket, rings, wsapi, xavante

	Updated/fixed packages: cdrkit, libidn, netperf

+1 −0
Original line number Diff line number Diff line
@@ -215,6 +215,7 @@ source "package/luafilesystem/Config.in"
source "package/luasocket/Config.in"
source "package/rings/Config.in"
source "package/wsapi/Config.in"
source "package/xavante/Config.in"
endif
source "package/microperl/Config.in"
source "package/php/Config.in"
+14 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_XAVANTE
	bool "xavante"
	depends on BR2_PACKAGE_LUA_SHARED_LIBRARY
	select BR2_PACKAGE_CGILUA
	select BR2_PACKAGE_COPAS
	select BR2_PACKAGE_COXPCALL
	select BR2_PACKAGE_LUAFILESYSTEM
	select BR2_PACKAGE_LUASOCKET
	select BR2_PACKAGE_WSAPI
	help
	  Xavante is a Lua HTTP 1.1 Web server that uses a modular
	  architecture based on URI mapped handlers.

	  http://keplerproject.github.com/xavante/
+23 −0
Original line number Diff line number Diff line
#############################################################
#
# xavante
#
#############################################################

XAVANTE_VERSION = 2.2.0
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 $(call GENTARGETS,package,xavante))