2 # Copyright (C) 2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://github.com/downloads/tomasguisasola/luasoap/
16 PKG_MD5SUM:=3aafa06f3a65e65f4ee08e12b89ec583
18 include $(INCLUDE_DIR)/package.mk
20 define Package/luasoap
25 URL:=https://github.com/tomasguisasola/luasoap
26 DEPENDS:=+lua +luaexpat +luasec +luasocket
29 define Package/luasoap/description
30 LuaSOAP is a library of functions to deal with SOAP.
33 define Build/Configure
39 define Package/luasoap/install
40 $(INSTALL_DIR) $(1)/usr/lib/lua
41 $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/soap.lua $(1)/usr/lib/lua/
42 $(INSTALL_DIR) $(1)/usr/lib/lua/soap
43 $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/{client,server}.lua $(1)/usr/lib/lua/soap/
44 $(INSTALL_DIR) $(1)/usr/lib/lua/soap/client
45 $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/client/https.lua $(1)/usr/lib/lua/soap/client/
46 $(INSTALL_DIR) $(1)/usr/lib/lua/soap/tests
47 $(INSTALL_DATA) $(PKG_BUILD_DIR)/tests/test{,-http,-server}.lua $(1)/usr/lib/lua/soap/tests/
50 $(eval $(call BuildPackage,luasoap))