From patchwork Mon Feb 2 15:35:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas De Schampheleire X-Patchwork-Id: 435567 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 1861114028E for ; Tue, 3 Feb 2015 02:35:52 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 60289A1561; Mon, 2 Feb 2015 15:35: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 jZlugmgCqMeo; Mon, 2 Feb 2015 15:35:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9A586A1529; Mon, 2 Feb 2015 15:35:50 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 913F81C2268 for ; Mon, 2 Feb 2015 15:35:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8C17793052 for ; Mon, 2 Feb 2015 15:35:49 +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 cdOHrJhNbE5J for ; Mon, 2 Feb 2015 15:35:48 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) by hemlock.osuosl.org (Postfix) with ESMTPS id D6BC993051 for ; Mon, 2 Feb 2015 15:35:47 +0000 (UTC) Received: by mail-wg0-f48.google.com with SMTP id x12so39394022wgg.7 for ; Mon, 02 Feb 2015 07:35:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=orGKeamHajHX2CVTvGNvBX3vGBDjjESrpViKbyki2oE=; b=ELx2YQlt5yRCkK4Wm/sxuZoHCs7hNoLeGhJdscLXjGtM6aaOutaQjYGA8cmRfbPbc3 Qq9OcT/slNXyX4UrHPkWd6fqwiolXhqHzTz1oyHZRCpoUYl65M4yirJ6MIkpX/Jy0YpO GrKnGGDGkKKqW6RDQfaCkKkEFJd38yBS9D+zUSDIw6+Ljq0vgJOfFAWv+IVq8UHQXPm3 4x5KM6mvc9cPRzXP/elenB7sYUtSiTlktV12Lm+SmY+HcDM78pqh/+Mzk+D3S7Wz5/VX WrB80y60/WIuEvxuaJMlfPVh2kD3aQaTZK7kwIqPSn3VrO+4vsYA7hqbUtpECWZrGH6g K+TA== X-Received: by 10.194.5.37 with SMTP id p5mr46219821wjp.20.1422891346446; Mon, 02 Feb 2015 07:35:46 -0800 (PST) Received: from localhost.localdomain ([74.125.61.14]) by mx.google.com with ESMTPSA id bo3sm28385481wjb.44.2015.02.02.07.35.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 02 Feb 2015 07:35:45 -0800 (PST) From: Thomas De Schampheleire To: buildroot@buildroot.org Date: Mon, 2 Feb 2015 16:35:35 +0100 Message-Id: <1422891336-14461-1-git-send-email-patrickdepinguin@gmail.com> X-Mailer: git-send-email 1.8.5.1 Cc: Thomas De Schampheleire Subject: [Buildroot] [PATCH v2 1/2] lua-periphery: 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" From: Vanya Sergeev Signed-off-by: Vanya Sergeev [ThomasDS: rewrap package/lua-periphery/Config.in] Signed-off-by: Thomas De Schampheleire Tested-by: Thomas De Schampheleire (compile-tested on x86/glibc armel/uclibc) --- package/Config.in | 1 + package/lua-periphery/Config.in | 8 ++++++++ package/lua-periphery/lua-periphery.mk | 13 +++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 package/lua-periphery/Config.in create mode 100644 package/lua-periphery/lua-periphery.mk diff --git a/package/Config.in b/package/Config.in index bcd1481..ed49da4 100644 --- a/package/Config.in +++ b/package/Config.in @@ -425,6 +425,7 @@ menu "Lua libraries/modules" source "package/lua-ev/Config.in" source "package/lua-messagepack/Config.in" source "package/lua-msgpack-native/Config.in" + source "package/lua-periphery/Config.in" source "package/lua-testmore/Config.in" source "package/luabitop/Config.in" source "package/luacrypto/Config.in" diff --git a/package/lua-periphery/Config.in b/package/lua-periphery/Config.in new file mode 100644 index 0000000..de5a716 --- /dev/null +++ b/package/lua-periphery/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_LUA_PERIPHERY + bool "lua-periphery" + depends on BR2_PACKAGE_HAS_LUAINTERPRETER + help + A library for GPIO, SPI, I2C, MMIO, and Serial peripheral I/O + interface access in userspace Linux with Lua. + + https://github.com/vsergeev/lua-periphery diff --git a/package/lua-periphery/lua-periphery.mk b/package/lua-periphery/lua-periphery.mk new file mode 100644 index 0000000..0717a27 --- /dev/null +++ b/package/lua-periphery/lua-periphery.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# lua-periphery +# +################################################################################ + +LUA_PERIPHERY_VERSION_UPSTREAM = 1.0.4 +LUA_PERIPHERY_VERSION = $(LUA_PERIPHERY_VERSION_UPSTREAM)-1 +LUA_PERIPHERY_SUBDIR = lua-periphery +LUA_PERIPHERY_LICENSE = MIT +LUA_PERIPHERY_LICENSE_FILES = $(LUA_PERIPHERY_SUBDIR)/LICENSE + +$(eval $(luarocks-package))