mirror of
https://github.com/openwrt/packages.git
synced 2025-01-31 01:22:13 +00:00
8b7040b6de
1. Update it to version 3.16.3 Release notes: https://github.com/LuaLanes/lanes/releases/tag/v3.16.3 2. Change to download tarball instead of checking out Git sources In the previous commit (in the Fixes tag), it was changed to Git sources without any reason. Let's revert it back. Let's use again tagged release. Fixes: b93e5b45b1daac827d429b51d8763226268f2b9a ("lualanes: Version bump to v3.16.2") Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
58 lines
1.7 KiB
Makefile
58 lines
1.7 KiB
Makefile
#
|
|
# Copyright (C) 2007-2014 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:=lualanes
|
|
PKG_VERSION:=3.16.3
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://codeload.github.com/LuaLanes/lanes/tar.gz/v$(PKG_VERSION)?
|
|
PKG_HASH:=22cfa836de4be14fe588b9cd34e936d6f61ec6f4096d8ae30d4ec35855d9608f
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/lanes-$(PKG_VERSION)
|
|
|
|
PKG_MAINTAINER:=Vladimir Malyutin <first-leon@yandex.ru>
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
PKG_LICENSE_FILES:=COPYRIGHT
|
|
|
|
PKG_BUILD_DEPENDS:=lua/host
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/lualanes
|
|
SUBMENU:=Lua
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
TITLE:=LuaLanes
|
|
URL:=http://lualanes.github.io/lanes/
|
|
DEPENDS:=+lua +luac +liblua +libpthread
|
|
endef
|
|
|
|
define Package/lualanes/description
|
|
Lua Lanes is a Lua extension library providing the possibility to run
|
|
multiple Lua states in parallel. It is intended to be used for optimizing
|
|
performance on multicore CPU's and to study ways to make Lua programs
|
|
naturally parallel to begin with.
|
|
|
|
Lanes is included into your software by the regular require "lanes" method.
|
|
No C side programming is needed; all APIs are Lua side, and most existing
|
|
extension modules should work seamlessly together with the multiple lanes.
|
|
|
|
Lanes supports Lua 5.1, 5.2 and 5.3
|
|
endef
|
|
|
|
define Package/lualanes/install
|
|
$(INSTALL_DIR) $(1)/usr/lib/lua
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/lua/lmod/lanes.lua $(1)/usr/lib/lua/
|
|
$(INSTALL_DIR) $(1)/usr/lib/lua/lanes
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/lua/cmod/core.so $(1)/usr/lib/lua/lanes/core.so
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,lualanes))
|