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.

41 lines
958 B

  1. #
  2. # Copyright (C) 2013 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:=lua-mosquitto
  9. PKG_VERSION:=0.1
  10. PKG_RELEASE:=1
  11. PKG_LICENSE:=MIT
  12. PKG_LICENSE_FILES:=LICENSE
  13. PKG_SOURCE:=v$(PKG_VERSION).tar.gz
  14. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  15. PKG_SOURCE_URL:=https://github.com/flukso/$(PKG_NAME)/archive/
  16. PKG_MD5SUM:=fd26fa08fc855ba4a66ce521fe5aae13
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/$(PKG_NAME)
  19. SUBMENU:=Lua
  20. SECTION:=lang
  21. CATEGORY:=Languages
  22. TITLE:=Lua-mosquitto
  23. DEPENDS:=+libmosquitto +lua
  24. MAINTAINER:=Karl Palsson <karlp@remake.is>
  25. endef
  26. define Package/$(PKG_NAME)/description
  27. Lua bindings to libmosquitto
  28. endef
  29. define Package/$(PKG_NAME)/install
  30. $(INSTALL_DIR) $(1)/usr/lib/lua
  31. $(INSTALL_BIN) $(PKG_BUILD_DIR)/mosquitto.so $(1)/usr/lib/lua
  32. endef
  33. $(eval $(call BuildPackage,$(PKG_NAME)))