From patchwork Mon Jun 26 15:19:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Niestroj X-Patchwork-Id: 780760 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wxCR36Wx6z9ryb for ; Tue, 27 Jun 2017 01:19:59 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 087D387E41; Mon, 26 Jun 2017 15:19:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k+w7yFlQTL2m; Mon, 26 Jun 2017 15:19:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id B1AF487E1B; Mon, 26 Jun 2017 15:19:52 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id E85661BFCDB for ; Mon, 26 Jun 2017 15:19:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E2F8B857B4 for ; Mon, 26 Jun 2017 15:19:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MvjET5Sz9OQh for ; Mon, 26 Jun 2017 15:19:50 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp.megiteam.pl (smtp.megiteam.pl [31.186.83.105]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 282458555A for ; Mon, 26 Jun 2017 15:19:49 +0000 (UTC) Received: from [95.143.241.142] (helo=localhost.localdomain) by smtp.megiteam.pl with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dPVnm-0007l4-8G; Mon, 26 Jun 2017 17:19:46 +0200 From: Marcin Niestroj To: buildroot@buildroot.org Date: Mon, 26 Jun 2017 17:19:41 +0200 Message-Id: <20170626151941.2637-1-m.niestroj@grinn-global.com> X-Mailer: git-send-email 2.13.1 Cc: Marcin Niestroj Subject: [Buildroot] [PATCH] package/lua-stdlib: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Marcin Niestroj Reviewed-by: Romain Naour --- DEVELOPERS | 1 + package/Config.in | 1 + package/lua-stdlib/Config.in | 9 +++++++++ package/lua-stdlib/lua-stdlib.hash | 2 ++ package/lua-stdlib/lua-stdlib.mk | 14 ++++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 package/lua-stdlib/Config.in create mode 100644 package/lua-stdlib/lua-stdlib.hash create mode 100644 package/lua-stdlib/lua-stdlib.mk diff --git a/DEVELOPERS b/DEVELOPERS index 9e421f4b41..9ec51261f0 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1075,6 +1075,7 @@ F: package/argparse/ F: package/dt-utils/ F: package/easydbus/ F: package/lua-flu/ +F: package/lua-stdlib/ F: package/luaossl/ F: package/rs485conf/ F: package/turbolua/ diff --git a/package/Config.in b/package/Config.in index f69f67f3e4..259b871b1c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -574,6 +574,7 @@ menu "Lua libraries/modules" source "package/lua-msgpack-native/Config.in" source "package/lua-periphery/Config.in" source "package/lua-sdl2/Config.in" + source "package/lua-stdlib/Config.in" source "package/lua-testmore/Config.in" source "package/luabitop/Config.in" source "package/luacrypto/Config.in" diff --git a/package/lua-stdlib/Config.in b/package/lua-stdlib/Config.in new file mode 100644 index 0000000000..1843826c24 --- /dev/null +++ b/package/lua-stdlib/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_LUA_STDLIB + bool "lua-stdlib" + help + lua-stdlib is a library of modules for common programming + tasks, including list, table and functional operations, + objects, pickling, pretty-printing and command-line option + parsing. + + https://github.com/lua-stdlib/lua-stdlib/ diff --git a/package/lua-stdlib/lua-stdlib.hash b/package/lua-stdlib/lua-stdlib.hash new file mode 100644 index 0000000000..56f585db72 --- /dev/null +++ b/package/lua-stdlib/lua-stdlib.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 5eff1af3a16470297fa5a92c9525ae593644ae9dc0e6215158298711f5d829ee stdlib-41.2.0-1.src.rock diff --git a/package/lua-stdlib/lua-stdlib.mk b/package/lua-stdlib/lua-stdlib.mk new file mode 100644 index 0000000000..f7fb0ff9c5 --- /dev/null +++ b/package/lua-stdlib/lua-stdlib.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# lua-stdlib +# +################################################################################ + +LUA_STDLIB_VERSION_UPSTREAM = 41.2.0 +LUA_STDLIB_VERSION = $(LUA_STDLIB_VERSION_UPSTREAM)-1 +LUA_STDLIB_NAME_UPSTREAM = stdlib +LUA_STDLIB_SUBDIR = lua-stdlib-release-v$(LUA_STDLIB_VERSION_UPSTREAM) +LUA_STDLIB_LICENSE = MIT +LUA_STDLIB_LICENSE_FILES = $(LUA_STDLIB_SUBDIR)/COPYING + +$(eval $(luarocks-package))