noddos: Noddos v0.5.0 with mDNS / DNS-SD support
[feed/packages.git] / lang / lua-mosquitto / Makefile
1 #
2 # Copyright (C) 2013-2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=lua-mosquitto
11 PKG_VERSION:=0.2
12 PKG_RELEASE:=1
13 PKG_LICENSE:=MIT
14 PKG_LICENSE_FILES:=LICENSE
15
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
17 PKG_SOURCE_PROTO:=git
18 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
19 PKG_SOURCE_URL:=https://github.com/flukso/lua-mosquitto.git
20 PKG_SOURCE_VERSION:=v$(PKG_VERSION)
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/lua-mosquitto
25 SUBMENU:=Lua
26 SECTION:=lang
27 CATEGORY:=Languages
28 TITLE:=Lua-mosquitto
29 DEPENDS:=+libmosquitto +lua
30 MAINTAINER:=Karl Palsson <karlp@remake.is>
31 endef
32
33 define Package/lua-mosquitto/description
34 Lua bindings to libmosquitto
35 endef
36
37 define Package/lua-mosquitto/install
38 $(INSTALL_DIR) $(1)/usr/lib/lua
39 $(INSTALL_BIN) $(PKG_BUILD_DIR)/mosquitto.so $(1)/usr/lib/lua
40 endef
41
42 $(eval $(call BuildPackage,lua-mosquitto))