summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Bevin <gbevin@gentoo.org>2002-03-22 16:09:28 +0000
committerGeert Bevin <gbevin@gentoo.org>2002-03-22 16:09:28 +0000
commit3229ca101f6ac91718d1d2717cca0a486ed89a05 (patch)
tree65281154c0a8ef0395944474ab44bc739bce70a1
parentgcc3 fix (diff)
downloadgentoo-2-3229ca101f6ac91718d1d2717cca0a486ed89a05.tar.gz
gentoo-2-3229ca101f6ac91718d1d2717cca0a486ed89a05.tar.bz2
gentoo-2-3229ca101f6ac91718d1d2717cca0a486ed89a05.zip
Added support for c++ libs and includes
-rw-r--r--dev-java/antlr/ChangeLog9
-rw-r--r--dev-java/antlr/antlr-2.7.1-r2.ebuild (renamed from dev-java/antlr/antlr-2.7.1-r1.ebuild)12
-rw-r--r--dev-java/antlr/files/digest-antlr-2.7.1-r2 (renamed from dev-java/antlr/files/digest-antlr-2.7.1-r1)0
3 files changed, 17 insertions, 4 deletions
diff --git a/dev-java/antlr/ChangeLog b/dev-java/antlr/ChangeLog
index 1db4fa356702..cc34de919a51 100644
--- a/dev-java/antlr/ChangeLog
+++ b/dev-java/antlr/ChangeLog
@@ -1,7 +1,14 @@
# ChangeLog for dev-java/antlr
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/ChangeLog,v 1.1 2002/02/01 21:53:11 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/ChangeLog,v 1.2 2002/03/22 16:09:28 gbevin Exp $
+*antlr-2.7.1-r2 (15 Mar 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> antlr-2.7.1-r2.ebuild
+ digest/digest-antlr-2.7.1-r2 :
+
+ Added support for c++ library and includes
+
*antlr-2.7.1-r1 (1 Feb 2002)
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
diff --git a/dev-java/antlr/antlr-2.7.1-r1.ebuild b/dev-java/antlr/antlr-2.7.1-r2.ebuild
index 81611a814961..22046abb56f4 100644
--- a/dev-java/antlr/antlr-2.7.1-r1.ebuild
+++ b/dev-java/antlr/antlr-2.7.1-r2.ebuild
@@ -1,21 +1,25 @@
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Karl Trygve Kalleberg <karltk@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/antlr-2.7.1-r1.ebuild,v 1.1 2001/12/15 01:07:51 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/antlr-2.7.1-r2.ebuild,v 1.1 2002/03/22 16:09:28 gbevin Exp $
S=${WORKDIR}/${P}
-DESCRIPTION="A parser generator for Java"
+DESCRIPTION="A parser generator for Java, C++ and Sather, written in Java"
SRC_URI="http://www.antlr.org/D00100100/antlr-2.7.1.tar.gz"
HOMEPAGE="http://www.antlr.org"
DEPEND=">=virtual/jdk-1.2
- >=dev-java/jikes-1.13"
+ >=dev-java/jikes-1.13
+ >=sys-devel/gcc-2.95.3"
src_compile() {
PATH=${PATH}:${JAVA_HOME}/bin JAVAC=jikes make all-jars || die
+ cd lib/cpp
+ econf || die
+ emake || die
}
src_install () {
@@ -25,5 +29,7 @@ src_install () {
dohtml -r doc/*
cp -R examples ${D}/usr/share/doc/${P}/
dodoc RIGHTS
+ cd lib/cpp
+ make DESTDIR=$D install
}
diff --git a/dev-java/antlr/files/digest-antlr-2.7.1-r1 b/dev-java/antlr/files/digest-antlr-2.7.1-r2
index 149be81c98bf..149be81c98bf 100644
--- a/dev-java/antlr/files/digest-antlr-2.7.1-r1
+++ b/dev-java/antlr/files/digest-antlr-2.7.1-r2