luasoap: bump luasoap from 2.x to 3.x.
authorPeng Liu <pengliu@credosemi.com>
Tue, 26 Aug 2014 08:19:28 +0000 (04:19 -0400)
committerPeng Liu <pengliu@credosemi.com>
Tue, 26 Aug 2014 08:19:28 +0000 (04:19 -0400)
Signed-off-by: Peng Liu <pengliu@credosemi.com>
lang/luasoap/Makefile [new file with mode: 0644]

diff --git a/lang/luasoap/Makefile b/lang/luasoap/Makefile
new file mode 100644 (file)
index 0000000..0f631a9
--- /dev/null
@@ -0,0 +1,55 @@
+#
+# Copyright (C) 2011 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=luasoap
+PKG_VERSION:=2014-08-21
+PKG_RELEASE=$(PKG_SOURCE_VERSION)
+
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/tomasguisasola/luasoap.git
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_VERSION:=af1e100281cee4b972df10121e37e51d53367a98
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
+PKG_MIRROR_MD5SUM:=
+
+PKG_MAINTAINER:=Liu Peng <pengliu@credosemi.com>
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/luasoap
+  SUBMENU:=Lua
+  SECTION:=lang
+  CATEGORY:=Languages
+  TITLE:=LuaSOAP
+  URL:=https://github.com/tomasguisasola/luasoap
+  DEPENDS:=+lua +luaexpat +luasec +luasocket
+endef
+
+define Package/luasoap/description
+  LuaSOAP is a library of functions to deal with SOAP.
+endef
+
+define Build/Configure
+endef
+
+define Build/Compile
+endef
+
+define Package/luasoap/install
+       $(INSTALL_DIR) $(1)/usr/lib/lua
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/soap.lua $(1)/usr/lib/lua/
+       $(INSTALL_DIR) $(1)/usr/lib/lua/soap
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/{client,server}.lua $(1)/usr/lib/lua/soap/
+       $(INSTALL_DIR) $(1)/usr/lib/lua/soap/client
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/client/https.lua $(1)/usr/lib/lua/soap/client/
+       $(INSTALL_DIR) $(1)/usr/lib/lua/soap/tests
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/tests/test{,-http,-server}.lua $(1)/usr/lib/lua/soap/tests/
+endef
+
+$(eval $(call BuildPackage,luasoap))