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.

57 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. PKGARCH:=all
  28. endef
  29. define Package/luasoap/description
  30. LuaSOAP is a library of functions to deal with SOAP.
  31. endef
  32. define Build/Configure
  33. endef
  34. define Build/Compile
  35. endef
  36. define Package/luasoap/install
  37. $(INSTALL_DIR) $(1)/usr/lib/lua
  38. $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/soap.lua $(1)/usr/lib/lua/
  39. $(INSTALL_DIR) $(1)/usr/lib/lua/soap
  40. $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/{client,server}.lua $(1)/usr/lib/lua/soap/
  41. $(INSTALL_DIR) $(1)/usr/lib/lua/soap/client
  42. $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/client/https.lua $(1)/usr/lib/lua/soap/client/
  43. $(INSTALL_DIR) $(1)/usr/lib/lua/soap/tests
  44. $(INSTALL_DATA) $(PKG_BUILD_DIR)/tests/test{,-http,-server}.lua $(1)/usr/lib/lua/soap/tests/
  45. endef
  46. $(eval $(call BuildPackage,luasoap))