diff options
Diffstat (limited to 'dev-java/antlr/antlr-2.7.4.ebuild')
-rw-r--r-- | dev-java/antlr/antlr-2.7.4.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-java/antlr/antlr-2.7.4.ebuild b/dev-java/antlr/antlr-2.7.4.ebuild new file mode 100644 index 000000000000..1711f191cd92 --- /dev/null +++ b/dev-java/antlr/antlr-2.7.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/antlr-2.7.4.ebuild,v 1.1 2004/07/15 16:33:48 axxo Exp $ + +inherit java-pkg + +DESCRIPTION="A parser generator for Java and C++, written in Java" +SRC_URI="http://www.antlr.org/download/${P}.tar.gz" +HOMEPAGE="http://www.antlr.org" +DEPEND=">=virtual/jdk-1.2" +SLOT="0" +LICENSE="ANTLR" +KEYWORDS="~x86" +IUSE="" + +src_compile() { + econf || die + make all || die +} + +src_install () { + insinto /usr/share/antlr + java-pkg_dojar *.jar + doins extras/antlr-mode.el + dohtml -r doc/* + cp -R examples ${D}/usr/share/doc/${P}/ + dodoc RIGHTS + cd lib/cpp + make DESTDIR=$D install +} |