All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Théo Lebrun via buildroot" <buildroot@buildroot.org>
To: buildroot@buildroot.org
Cc: "James Hilliard" <james.hilliard1@gmail.com>,
	"Théo Lebrun" <theo.lebrun@bootlin.com>,
	"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH 1/3] package/ragel: new package
Date: Thu, 10 Mar 2022 16:20:46 +0100	[thread overview]
Message-ID: <20220310152048.633340-1-theo.lebrun@bootlin.com> (raw)

This is an host-only package that does preprocessing to .rl files to
turn them into .c or .cpp files.

Initially added to support package/roc.

See https://www.colm.net/open-source/ragel/ for the project's home page:

Ragel compiles executable finite state machines from regular languages.
Ragel targets C, C++ and ASM. Ragel state machines can not only
recognize byte sequences as regular expression machines do, but can
also execute code at arbitrary points in the recognition of a regular
language. Code embedding is done using inline operators that do not
disrupt the regular language syntax.

Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
---
 package/ragel/ragel.hash |  3 +++
 package/ragel/ragel.mk   | 18 ++++++++++++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 package/ragel/ragel.hash
 create mode 100644 package/ragel/ragel.mk

diff --git a/package/ragel/ragel.hash b/package/ragel/ragel.hash
new file mode 100644
index 0000000000..332f587432
--- /dev/null
+++ b/package/ragel/ragel.hash
@@ -0,0 +1,3 @@
+# Locally computed:
+sha256  5f156edb65d20b856d638dd9ee2dfb43285914d9aa2b6ec779dac0270cd56c3f  ragel-6.10.tar.gz
+sha256  05a87975accb539399d0c8a4f4402ac27a6762fb1e4f31d04d455a8bee3e3693  COPYING
diff --git a/package/ragel/ragel.mk b/package/ragel/ragel.mk
new file mode 100644
index 0000000000..476aff5da4
--- /dev/null
+++ b/package/ragel/ragel.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# ragel
+#
+################################################################################
+
+RAGEL_VERSION = 6.10
+RAGEL_SITE = https://www.colm.net/files/ragel/
+RAGEL_LICENSE = GPL-2.0
+RAGEL_LICENSE_FILES = COPYING
+RAGEL_CONF_OPTS = \
+	--disable-silent-rules \
+	--disable-manual \
+	--disable-dependency-tracking
+RAGEL_DEPENDENCIES =
+HOST_RAGEL_DEPENDENCIES =
+
+$(eval $(host-autotools-package))
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2022-03-10 15:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-10 15:20 Théo Lebrun via buildroot [this message]
2022-03-10 15:20 ` [Buildroot] [PATCH 2/3] package/roc: new package Théo Lebrun via buildroot
2022-04-20 21:28   ` Yann E. MORIN
2022-03-10 15:20 ` [Buildroot] [PATCH 3/3] package/pipewire: add optional roc Théo Lebrun via buildroot
2022-04-20 20:57 ` [Buildroot] [PATCH 1/3] package/ragel: new package Yann E. MORIN
2022-04-20 21:07   ` Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220310152048.633340-1-theo.lebrun@bootlin.com \
    --to=buildroot@buildroot.org \
    --cc=james.hilliard1@gmail.com \
    --cc=theo.lebrun@bootlin.com \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.