aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorJohn Audia <therealgraysky@proton.me>2023-05-25 08:50:53 -0400
committerRosen Penev <rosenp@gmail.com>2023-05-28 15:48:25 +0300
commitfa76c4df5c857ee564bf2f2eaeedfea5b497b1e7 (patch)
tree9677eb3f10413981b8e89d01ed64f6af29994041 /devel
parent236e36c1983d912fe0772977496c99135fa18f7f (diff)
ragel: new package to build vectorscan
This is a new package for ragel which is a dependency for another new package vectorscan Co-authored-by: Josef Schlehofer <pepe.schlehofer@gmail.com> Signed-off-by: John Audia <therealgraysky@proton.me>
Diffstat (limited to 'devel')
-rw-r--r--devel/ragel/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/devel/ragel/Makefile b/devel/ragel/Makefile
new file mode 100644
index 000000000..25501d3bc
--- /dev/null
+++ b/devel/ragel/Makefile
@@ -0,0 +1,37 @@
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=ragel
+PKG_VERSION:=6.10
+PKG_RELEASE:=1
+
+PKG_SOURCE_URL:=https://www.colm.net/files/ragel/
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_HASH:=5f156edb65d20b856d638dd9ee2dfb43285914d9aa2b6ec779dac0270cd56c3f
+
+PKG_MAINTAINER:=John Audia <therealgraysky@proton.me>
+PKG_LICENSE:=GPL-2.0-only
+PKG_LICENSE_FILES:=COPYING
+
+PKG_HOST_ONLY:=1
+HOST_BUILD_PARALLEL:=1
+
+include $(INCLUDE_DIR)/host-build.mk
+include $(INCLUDE_DIR)/package.mk
+
+define Package/ragel
+ SECTION:=devel
+ CATEGORY:=Development
+ TITLE:=Compiles finite state machines from regular languages into executable code
+ URL:=https://www.colm.net/open-source/ragel/
+ BUILDONLY:=1
+endef
+
+HOST_CONFIGURE_VARS += CXXFLAGS="$(HOST_CXXFLAGS) -std=gnu++98"
+
+$(eval $(call HostBuild))
+$(eval $(call BuildPackage,ragel))