diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2021-03-27 12:30:18 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2021-03-27 12:30:29 +0000 |
commit | 4b07c86aefbfa87abcb9c23ce7ae15211e7ae2de (patch) | |
tree | 54b64d0c780477d29965900ecd496b2359d210cb /dev-util/re2c | |
parent | dev-lisp/gcl: bump to 2.6.13_pre98 (diff) | |
download | gentoo-4b07c86aefbfa87abcb9c23ce7ae15211e7ae2de.tar.gz gentoo-4b07c86aefbfa87abcb9c23ce7ae15211e7ae2de.tar.bz2 gentoo-4b07c86aefbfa87abcb9c23ce7ae15211e7ae2de.zip |
dev-util/re2c: bump up to 2.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/Manifest | 1 | ||||
-rw-r--r-- | dev-util/re2c/re2c-2.1.ebuild | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-util/re2c/Manifest b/dev-util/re2c/Manifest index 59708a0ee97f..eedd817f6abd 100644 --- a/dev-util/re2c/Manifest +++ b/dev-util/re2c/Manifest @@ -1 +1,2 @@ DIST re2c-2.0.3.tar.xz 1288996 BLAKE2B 76913a79ad9c237843ccbe86dd05db755da19fc89351b64d6ece6a9a8d53860f1cc12493748fca5b7391cddff4f4668295fb2613c257c128870ea2e7163811ed SHA512 893c533e9847a6236d55ae65e413ddc48b7531b89f5552a3ad79beeac079317ceca4c35710f3c2d88a6de5a3c0a5070a24a8cffb1b4277578a41697ea0e3bf8c +DIST re2c-2.1.tar.xz 1336696 BLAKE2B 8b674f175d42dfb4e95733cf0de036fad6152a8e127c2c055fa3c499e804e3acb81c32443cb7eeab18cc5d88ab6ebb48f1472fcc3a811ba5750f4f72ee16aeab SHA512 486514c1d3d176c4227ca1f06c5b3e37d9bd05e95786208ea7704663ad8243976898df4be399fd6675fe4e8aa13b9fcc7119811747d3d8c91f441094a9479793 diff --git a/dev-util/re2c/re2c-2.1.ebuild b/dev-util/re2c/re2c-2.1.ebuild new file mode 100644 index 000000000000..cf4238f0a8d7 --- /dev/null +++ b/dev-util/re2c/re2c-2.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 +} |