Added a few lua modules (lpeg, md5, cjson, copas, coxpcall, lzlib, rings, rs232, wsapi, xavante, lzmq, mobdebug), zeromq
Signed-off-by: Dirk Chang <dirk@kooiot.com>
2015-04-27 12:34:27 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2015 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:=lzmq
|
2015-06-17 14:56:26 +00:00
|
|
|
PKG_VERSION:=0.4.3
|
|
|
|
PKG_RELEASE:=1
|
Added a few lua modules (lpeg, md5, cjson, copas, coxpcall, lzlib, rings, rs232, wsapi, xavante, lzmq, mobdebug), zeromq
Signed-off-by: Dirk Chang <dirk@kooiot.com>
2015-04-27 12:34:27 +00:00
|
|
|
PKG_MAINTAINER:=Dirk Chang <dirk@kooiot.com>
|
|
|
|
PKG_LICENSE:=MIT
|
|
|
|
|
2015-05-14 18:24:18 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2015-06-17 14:56:26 +00:00
|
|
|
PKG_SOURCE_URL:=https://codeload.github.com/zeromq/lzmq/tar.gz/v$(PKG_VERSION)?
|
|
|
|
PKG_MD5SUM:=c4e51a60a5a26987bdce59e45d674a9e
|
Added a few lua modules (lpeg, md5, cjson, copas, coxpcall, lzlib, rings, rs232, wsapi, xavante, lzmq, mobdebug), zeromq
Signed-off-by: Dirk Chang <dirk@kooiot.com>
2015-04-27 12:34:27 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
|
|
|
|
define Package/lzmq
|
|
|
|
SUBMENU:=Lua
|
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
TITLE:=Lua ZeroMQ binding
|
|
|
|
URL:=https://github.com/moteus/lzmq/
|
|
|
|
DEPENDS:= +lua +libzmq
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/lzmq/description
|
|
|
|
LZMQ is a Lua binding to ZeroMQ.
|
|
|
|
endef
|
|
|
|
|
|
|
|
CMAKE_OPTIONS += \
|
|
|
|
-DUSE_LUA=ON
|
|
|
|
|
|
|
|
define Package/lzmq/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/lua
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/lzmq.so $(1)/usr/lib/lua/
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/lua/lzmq
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/lzmq/timer.so $(1)/usr/lib/lua/lzmq
|
|
|
|
$(CP) -R $(PKG_BUILD_DIR)/src/lua/lzmq/* $(1)/usr/lib/lua/lzmq
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,lzmq))
|