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.

43 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2016 Amnon Paz <pazamnon@gmail.com>
  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:=lua-openssl
  9. PKG_RELEASE:=$(AUTORELEASE)
  10. PKG_SOURCE_PROTO:=git
  11. PKG_SOURCE_URL:=https://github.com/zhaozg/lua-openssl.git
  12. PKG_SOURCE_VERSION:=0.8.0-6
  13. PKG_MIRROR_HASH:=d3b80bcde0463b3106cb8cdd1b255fa894ac5af02640c9f3c98ae706d3659267
  14. PKG_MAINTAINER:=Amnon Paz <pazamnon@gmail.com>
  15. PKG_LICENSE:=MIT
  16. PKG_LICENSE_FILES:=LICENSE
  17. include $(INCLUDE_DIR)/package.mk
  18. include $(INCLUDE_DIR)/cmake.mk
  19. define Package/lua-openssl
  20. SUBMENU:=Lua
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. TITLE:=Lua openSSL binding
  24. URL:=http://github.com/zhaozg/lua-openssl
  25. DEPENDS:=+lua +libopenssl +librt
  26. endef
  27. define Package/lua-openssl/description
  28. A free, MIT-licensed OpenSSL binding for Lua.
  29. endef
  30. define Package/lua-openssl/install
  31. $(INSTALL_DIR) $(1)/usr/lib/lua
  32. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/lua/5.1/openssl.so $(1)/usr/lib/lua/
  33. endef
  34. $(eval $(call BuildPackage,lua-openssl))