summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-03-27 18:46:21 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2021-03-27 18:46:47 +0000
commit779a56c62a006e7d315ecaa2fa166669319912ce (patch)
tree4013d42797b6131f229d70a50817377abfb6236d /dev-util/re2c
parentnet-vpn/tor: remove vulnerable version, bug #776586 (diff)
downloadgentoo-779a56c62a006e7d315ecaa2fa166669319912ce.tar.gz
gentoo-779a56c62a006e7d315ecaa2fa166669319912ce.tar.bz2
gentoo-779a56c62a006e7d315ecaa2fa166669319912ce.zip
dev-util/re2c: bump up to 2.1.1
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-util/re2c')
-rw-r--r--dev-util/re2c/Manifest1
-rw-r--r--dev-util/re2c/re2c-2.1.1.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-util/re2c/Manifest b/dev-util/re2c/Manifest
index eedd817f6abd..b8179802cf42 100644
--- a/dev-util/re2c/Manifest
+++ b/dev-util/re2c/Manifest
@@ -1,2 +1,3 @@
DIST re2c-2.0.3.tar.xz 1288996 BLAKE2B 76913a79ad9c237843ccbe86dd05db755da19fc89351b64d6ece6a9a8d53860f1cc12493748fca5b7391cddff4f4668295fb2613c257c128870ea2e7163811ed SHA512 893c533e9847a6236d55ae65e413ddc48b7531b89f5552a3ad79beeac079317ceca4c35710f3c2d88a6de5a3c0a5070a24a8cffb1b4277578a41697ea0e3bf8c
+DIST re2c-2.1.1.tar.xz 1340740 BLAKE2B e0e3cdb7ea78324467a8fe3161fe9b0cc1eb44baf9a554b892e1f7f8b8d089e8dca58da347527c595881e1119344858694c133ba0f1676424914f6518adbf4f4 SHA512 13edbe961e0482677aff52ada93129500c10e134b579365f1d0cd180a898251f3060f1fe0597fc6c900c0ea29b1eb28fc2519b0ebfa2ed496a777bf7e138feae
DIST re2c-2.1.tar.xz 1336696 BLAKE2B 8b674f175d42dfb4e95733cf0de036fad6152a8e127c2c055fa3c499e804e3acb81c32443cb7eeab18cc5d88ab6ebb48f1472fcc3a811ba5750f4f72ee16aeab SHA512 486514c1d3d176c4227ca1f06c5b3e37d9bd05e95786208ea7704663ad8243976898df4be399fd6675fe4e8aa13b9fcc7119811747d3d8c91f441094a9479793
diff --git a/dev-util/re2c/re2c-2.1.1.ebuild b/dev-util/re2c/re2c-2.1.1.ebuild
new file mode 100644
index 000000000000..cf4238f0a8d7
--- /dev/null
+++ b/dev-util/re2c/re2c-2.1.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="tool for generating C-based recognizers from regular expressions"
+HOMEPAGE="http://re2c.org/"
+SRC_URI="https://github.com/skvadrik/re2c/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="debug"
+
+src_configure() {
+ econf \
+ --enable-golang \
+ ac_cv_path_BISON="no" \
+ $(use_enable debug)
+}
+
+src_install() {
+ default
+
+ docompress -x /usr/share/doc/${PF}/examples
+ dodoc -r README.md CHANGELOG examples
+}