2 # Copyright (C) 2013-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=lua-mosquitto
14 PKG_LICENSE_FILES
:=LICENSE
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
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
)
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/lua-mosquitto
29 DEPENDS
:=+libmosquitto
+lua
30 MAINTAINER
:=Karl Palsson
<karlp@remake.is
>
33 define Package
/lua-mosquitto
/description
34 Lua bindings to libmosquitto
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
42 $(eval
$(call BuildPackage
,lua-mosquitto
))