Parcourir la source

Merge pull request #251 from credosemi/package-luasoap

luasoap: bump luasoap from 2.x to 3.x.
sbyx il y a 10 ans
Parent
révision
25bf46cf82
1 fichiers modifiés avec 56 ajouts et 0 suppressions
  1. 56
    0
      lang/luasoap/Makefile

+ 56
- 0
lang/luasoap/Makefile Voir le fichier

@@ -0,0 +1,56 @@
1
+#
2
+# Copyright (C) 2011 OpenWrt.org
3
+#
4
+# This is free software, licensed under the GNU General Public License v2.
5
+# See /LICENSE for more information.
6
+#
7
+
8
+include $(TOPDIR)/rules.mk
9
+
10
+PKG_NAME:=luasoap
11
+PKG_VERSION:=2014-08-21
12
+PKG_RELEASE=$(PKG_SOURCE_VERSION)
13
+
14
+PKG_SOURCE_PROTO:=git
15
+PKG_SOURCE_URL:=https://github.com/tomasguisasola/luasoap.git
16
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
17
+PKG_SOURCE_VERSION:=af1e100281cee4b972df10121e37e51d53367a98
18
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
19
+PKG_MIRROR_MD5SUM:=
20
+
21
+PKG_MAINTAINER:=Liu Peng <pengliu@credosemi.com>
22
+PKG_LICENSE:=MIT
23
+
24
+include $(INCLUDE_DIR)/package.mk
25
+
26
+define Package/luasoap
27
+  SUBMENU:=Lua
28
+  SECTION:=lang
29
+  CATEGORY:=Languages
30
+  TITLE:=LuaSOAP
31
+  URL:=https://github.com/tomasguisasola/luasoap
32
+  DEPENDS:=+lua +luaexpat +luasec +luasocket
33
+endef
34
+
35
+define Package/luasoap/description
36
+  LuaSOAP is a library of functions to deal with SOAP.
37
+endef
38
+
39
+define Build/Configure
40
+endef
41
+
42
+define Build/Compile
43
+endef
44
+
45
+define Package/luasoap/install
46
+	$(INSTALL_DIR) $(1)/usr/lib/lua
47
+	$(INSTALL_DATA) $(PKG_BUILD_DIR)/src/soap.lua $(1)/usr/lib/lua/
48
+	$(INSTALL_DIR) $(1)/usr/lib/lua/soap
49
+	$(INSTALL_DATA) $(PKG_BUILD_DIR)/src/{client,server}.lua $(1)/usr/lib/lua/soap/
50
+	$(INSTALL_DIR) $(1)/usr/lib/lua/soap/client
51
+	$(INSTALL_DATA) $(PKG_BUILD_DIR)/src/client/https.lua $(1)/usr/lib/lua/soap/client/
52
+	$(INSTALL_DIR) $(1)/usr/lib/lua/soap/tests
53
+	$(INSTALL_DATA) $(PKG_BUILD_DIR)/tests/test{,-http,-server}.lua $(1)/usr/lib/lua/soap/tests/
54
+endef
55
+
56
+$(eval $(call BuildPackage,luasoap))