summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-19 19:45:20 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-19 19:45:20 +0000
commit91ec5d231d6e8d3d6d4b21c2a902b7f9ab6485f9 (patch)
tree216735caf28b267f0adcbe9927cda95f6a4c2b84
parentAdd patch/hack to build with GCC 4.4 and a patch to fix tests under Gentoo/Fr... (diff)
downloadgentoo-2-91ec5d231d6e8d3d6d4b21c2a902b7f9ab6485f9.tar.gz
gentoo-2-91ec5d231d6e8d3d6d4b21c2a902b7f9ab6485f9.tar.bz2
gentoo-2-91ec5d231d6e8d3d6d4b21c2a902b7f9ab6485f9.zip
Initial import of the kelbt bracktracking parser. This is needed to build Ragel from SVN.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
-rw-r--r--dev-util/kelbt/ChangeLog11
-rw-r--r--dev-util/kelbt/kelbt-0.13.ebuild42
-rw-r--r--dev-util/kelbt/metadata.xml11
3 files changed, 64 insertions, 0 deletions
diff --git a/dev-util/kelbt/ChangeLog b/dev-util/kelbt/ChangeLog
new file mode 100644
index 000000000000..7433abcfac33
--- /dev/null
+++ b/dev-util/kelbt/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-util/kelbt
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/kelbt/ChangeLog,v 1.1 2009/05/19 19:45:20 flameeyes Exp $
+
+*kelbt-0.13 (19 May 2009)
+
+ 19 May 2009; Diego E. Pettenò <flameeyes@gentoo.org> +kelbt-0.13.ebuild,
+ +metadata.xml:
+ Initial import of the kelbt bracktracking parser. This is needed to build
+ Ragel from SVN.
+
diff --git a/dev-util/kelbt/kelbt-0.13.ebuild b/dev-util/kelbt/kelbt-0.13.ebuild
new file mode 100644
index 000000000000..b96c84bd83af
--- /dev/null
+++ b/dev-util/kelbt/kelbt-0.13.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/kelbt/kelbt-0.13.ebuild,v 1.1 2009/05/19 19:45:20 flameeyes Exp $
+
+EAPI=2
+
+inherit eutils
+
+DESCRIPTION="A backtracking LR parser by the author of Ragel"
+HOMEPAGE="http://www.complang.org/kelbt/"
+SRC_URI="http://www.complang.org/kelbt/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86-fbsd"
+IUSE="vim-syntax"
+
+RDEPEND=""
+
+# Tests are currently broken
+RESTRICT=test
+
+src_prepare() {
+ find "${S}" -iname "Makefile*" -exec sed -i \
+ -e '/\$(CXX)/s:CFLAGS:CXXFLAGS:' \
+ {} \;
+}
+
+src_test() {
+ cd "${S}"/test
+ ./runtests || die "tests failed"
+}
+
+src_install() {
+ dobin kelbt || die
+ dodoc TODO CREDITS ChangeLog || die
+
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins ${PN}.vim || die
+ fi
+}
diff --git a/dev-util/kelbt/metadata.xml b/dev-util/kelbt/metadata.xml
new file mode 100644
index 000000000000..3d01bb09dcc6
--- /dev/null
+++ b/dev-util/kelbt/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>lu_zero@gentoo.org</email>
+ </maintainer>
+ <maintainer>
+ <email>flameeyes@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>