From db3e2e4da88a10e8125b8e343c0ece106613b5b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Lebrun?= Date: Thu, 10 Mar 2022 16:20:46 +0100 Subject: [PATCH] package/ragel: new package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 [yann.morin.1998@free.fr: drop empty _DEPENDENCIES] Signed-off-by: Yann E. MORIN --- package/ragel/ragel.hash | 3 +++ package/ragel/ragel.mk | 16 ++++++++++++++++ 2 files changed, 19 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..56afcd7236 --- /dev/null +++ b/package/ragel/ragel.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# 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 + +$(eval $(host-autotools-package))