You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.6 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=luasoap
  9. PKG_VERSION:=2014-08-21
  10. PKG_RELEASE=$(PKG_SOURCE_VERSION)
  11. PKG_SOURCE_PROTO:=git
  12. PKG_SOURCE_URL:=https://github.com/tomasguisasola/luasoap.git
  13. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  14. PKG_SOURCE_VERSION:=af1e100281cee4b972df10121e37e51d53367a98
  15. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
  16. PKG_MIRROR_HASH:=839317e9a12c0723cf15eb5cea8d249e3f666a077585018fb8757aa1fb47d4e8
  17. PKG_MAINTAINER:=Liu Peng <pengliu@credosemi.com>
  18. PKG_LICENSE:=MIT
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/luasoap
  21. SUBMENU:=Lua
  22. SECTION:=lang
  23. CATEGORY:=Languages
  24. TITLE:=LuaSOAP
  25. URL:=https://github.com/tomasguisasola/luasoap
  26. DEPENDS:=+lua +luaexpat +luasec +luasocket
  27. endef
  28. define Package/luasoap/description
  29. LuaSOAP is a library of functions to deal with SOAP.
  30. endef
  31. define Build/Configure
  32. endef
  33. define Build/Compile
  34. endef
  35. define Package/luasoap/install
  36. $(INSTALL_DIR) $(1)/usr/lib/lua
  37. $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/soap.lua $(1)/usr/lib/lua/
  38. $(INSTALL_DIR) $(1)/usr/lib/lua/soap
  39. $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/{client,server}.lua $(1)/usr/lib/lua/soap/
  40. $(INSTALL_DIR) $(1)/usr/lib/lua/soap/client
  41. $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/client/https.lua $(1)/usr/lib/lua/soap/client/
  42. $(INSTALL_DIR) $(1)/usr/lib/lua/soap/tests
  43. $(INSTALL_DATA) $(PKG_BUILD_DIR)/tests/test{,-http,-server}.lua $(1)/usr/lib/lua/soap/tests/
  44. endef
  45. $(eval $(call BuildPackage,luasoap))