summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/antlr-c/ChangeLog11
-rw-r--r--dev-libs/antlr-c/Manifest18
-rw-r--r--dev-libs/antlr-c/antlr-c-3.4_beta4.ebuild61
-rw-r--r--dev-libs/antlr-c/metadata.xml14
4 files changed, 104 insertions, 0 deletions
diff --git a/dev-libs/antlr-c/ChangeLog b/dev-libs/antlr-c/ChangeLog
new file mode 100644
index 0000000..dbd5c69
--- /dev/null
+++ b/dev-libs/antlr-c/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-libs/antlr-c
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/antlr-c/ChangeLog,v 1.1 2011/06/10 07:02:40 qiaomuf Exp $
+
+*antlr-c-3.3_pre20110403 (10 Jun 2011)
+
+ 10 Jun 2011; Mu Qiao <qiaomuf@gentoo.org> +files/antlr-c-3.1.4-doxygen.patch,
+ +antlr-c-3.3_pre20110403.ebuild, +files/antlr-c-3.3-cflags.patch,
+ +metadata.xml:
+ Initial commit for antlr-c
+
diff --git a/dev-libs/antlr-c/Manifest b/dev-libs/antlr-c/Manifest
new file mode 100644
index 0000000..19bc165
--- /dev/null
+++ b/dev-libs/antlr-c/Manifest
@@ -0,0 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST libantlr3c-3.4-beta4.tar.gz 546103 RMD160 2d7e552243f22492b4f3ea03e18a4968abf60a39 SHA1 6728a0f4b99c0a3bc73936218604e01550617ff1 SHA256 a23393522fb07c0c4e6d71802e9e3018eaa0d27b4c4fbaa41e51f5bcbf9e6572
+EBUILD antlr-c-3.4_beta4.ebuild 1275 RMD160 2108801a94f297edba3e86f18ce57c6c899bc39d SHA1 ce4a47fe7002a5a09a371a8322a17b74b8549a13 SHA256 cbb36dfea2b2291aa5f8d54cd5064816a7a4be2c212562031426af36f4dec84e
+MISC ChangeLog 441 RMD160 bce8836b8902ba76e2c1b55b28029ce1f721efac SHA1 0a8277200baea45aa5f7392b194323a835703121 SHA256 567bc9d8a6bc87e926450ef7fcc831a3a88f41e83fef0444f96e865f2e4596ee
+MISC metadata.xml 380 RMD160 0046d2932b70e49b4d089d1cc242b0758d0d38c0 SHA1 db48de61d9020b6d3ebcad6652ee79c1ddf78edf SHA256 84f4a9f848cc6785b27849f12a5284000700b10b5c7c7e672a2d2229f21fbb88
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQEcBAEBAgAGBQJOE7v6AAoJEDCzDeQXsVfp4lwIAKgvThlWS1C/4vPsviX/mJ8r
+HxdT7L4E9FE6ymFnXo5HeqO8ZpTmQYPDO9Fqs23BKS1Pm+EGI8OpAm4nunoSJQjs
+a887GuGoGp2sDZSgXXzyLDXfTnRhUkFsUYQV535E598px59LVDJbpt+8mYDkI9++
+BgqYxpgsuVoO6iwzC5Xoj/4P0c1TSyUjUhl+CVuTZzhB0wi0c4n4S3T7W78eGiQc
+0Sog1IQHDh9CY6Qf2eWrAlW3Yi91gbV1RDcDeHMdLjiuZoBuGE8bDKx5oAxbhz4N
+nemR/LSzaK37Trbo8q/Z92nac6EDchzXmtkqE4m5jYKtINs8Ww0cwRuv2g1mdsA=
+=+vEs
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/antlr-c/antlr-c-3.4_beta4.ebuild b/dev-libs/antlr-c/antlr-c-3.4_beta4.ebuild
new file mode 100644
index 0000000..173b162
--- /dev/null
+++ b/dev-libs/antlr-c/antlr-c-3.4_beta4.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/antlr-c/antlr-c-3.3_pre20110403.ebuild,v 1.1 2011/06/10 07:02:40 qiaomuf Exp $
+
+EAPI="4"
+inherit eutils versionator
+
+MY_PN="libantlr3c"
+MY_PV=${PV/_/-}
+MY_P="${MY_PN}-${MY_PV}"
+DESCRIPTION="The ANTLR3 C Runtime"
+HOMEPAGE="http://fisheye2.atlassian.com/browse/antlr/runtime/C/dist/"
+SRC_URI="http://www.antlr.org/download/C/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="3.4"
+KEYWORDS="~x86 ~amd64"
+IUSE="debug debugger doc static-libs"
+
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ local myconf
+
+ if use amd64 || use ia64; then
+ myconf="${myconf} --enable-64bit"
+ else
+ myconf="${myconf} --disable-64bit"
+ fi
+
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable debug debuginfo ) \
+ $(use_enable debugger antlrdebug ) \
+ ${myconf}
+}
+
+src_compile() {
+ emake
+
+ if use doc; then
+ einfo "Generating documentation API ..."
+ doxygen -u doxyfile
+ doxygen doxyfile || die "doxygen failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ # remove useless .la files
+ find "${D}" -name '*.la' -delete
+
+ dodoc AUTHORS ChangeLog NEWS README
+ if use doc; then
+ dohtml api/*
+ fi
+}
diff --git a/dev-libs/antlr-c/metadata.xml b/dev-libs/antlr-c/metadata.xml
new file mode 100644
index 0000000..1428d9f
--- /dev/null
+++ b/dev-libs/antlr-c/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>betelgeuse@gentoo.org</email>
+ </maintainer>
+ <maintainer>
+ <email>qiaomuf@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name='debugger'>Compiles debug info into the library</flag>
+ </use>
+</pkgmetadata>