Makefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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_MD5SUM:=
  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))