summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2020-07-10 14:31:13 +0200
committerLuca Barbato <lu_zero@gentoo.org>2020-07-10 14:35:36 +0200
commitd7da2142bac96b697a4ed922b4fc1bf4332cefd5 (patch)
treed99d71bd66ba27e73eb76820355c81973244fb78 /dev-util/ragel/ragel-7.0.0.12.ebuild
parentdev-util/colm: Version bump (diff)
downloadgentoo-d7da2142bac96b697a4ed922b4fc1bf4332cefd5.tar.gz
gentoo-d7da2142bac96b697a4ed922b4fc1bf4332cefd5.tar.bz2
gentoo-d7da2142bac96b697a4ed922b4fc1bf4332cefd5.zip
dev-util/ragel: Version bump
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'dev-util/ragel/ragel-7.0.0.12.ebuild')
-rw-r--r--dev-util/ragel/ragel-7.0.0.12.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-util/ragel/ragel-7.0.0.12.ebuild b/dev-util/ragel/ragel-7.0.0.12.ebuild
new file mode 100644
index 000000000000..54a162204d54
--- /dev/null
+++ b/dev-util/ragel/ragel-7.0.0.12.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Compiles finite state machines from regular languages into executable code"
+HOMEPAGE="https://www.colm.net/open-source/ragel/"
+SRC_URI="https://www.colm.net/files/ragel/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="vim-syntax"
+
+DEPEND="~dev-util/colm-0.13.0.7"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-static
+}
+
+src_install() {
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins ragel.vim
+ fi
+ default
+ find "${D}" -name '*.la' -delete || die
+}