Browse Source

Merge pull request #672 from remakeelectric/lua-mosquitto

lang: lua-mosquitto: import new package
lilik-openwrt-22.03
Steven Barth 10 years ago
parent
commit
a8d3259695
1 changed files with 41 additions and 0 deletions
  1. +41
    -0
      lang/lua-mosquitto/Makefile

+ 41
- 0
lang/lua-mosquitto/Makefile View File

@ -0,0 +1,41 @@
#
# Copyright (C) 2013 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=lua-mosquitto
PKG_VERSION:=0.1
PKG_RELEASE:=1
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_SOURCE:=v$(PKG_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=https://github.com/flukso/$(PKG_NAME)/archive/
PKG_MD5SUM:=fd26fa08fc855ba4a66ce521fe5aae13
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
SUBMENU:=Lua
SECTION:=lang
CATEGORY:=Languages
TITLE:=Lua-mosquitto
DEPENDS:=+libmosquitto +lua
MAINTAINER:=Karl Palsson <karlp@remake.is>
endef
define Package/$(PKG_NAME)/description
Lua bindings to libmosquitto
endef
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/usr/lib/lua
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mosquitto.so $(1)/usr/lib/lua
endef
$(eval $(call BuildPackage,$(PKG_NAME)))

Loading…
Cancel
Save