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
17 PKG_MIRROR_HASH
:=c93aaf17c228917db2cc9ab1d9124971eecd818ec4da9d8f8609ca4a4e372beb
19 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
20 PKG_SOURCE_URL
:=https
://github.com
/flukso
/lua-mosquitto.git
21 PKG_SOURCE_VERSION
:=v
$(PKG_VERSION
)
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/lua-mosquitto
30 DEPENDS
:=+libmosquitto
+lua
31 MAINTAINER
:=Karl Palsson
<karlp@remake.is
>
34 define Package
/lua-mosquitto
/description
35 Lua bindings to libmosquitto
38 define Package
/lua-mosquitto
/install
39 $(INSTALL_DIR
) $(1)/usr
/lib
/lua
40 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/mosquitto.so
$(1)/usr
/lib
/lua
43 $(eval
$(call BuildPackage
,lua-mosquitto
))