Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 90288 Details for
Bug 138236
version bump: dev-java/antlr-2.7.6-r2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
antlr-2.7.6-r2.ebuild
antlr-2.7.6-r2.ebuild (text/plain), 2.32 KB, created by
Scott Amort
on 2006-06-27 10:39:27 UTC
(
hide
)
Description:
antlr-2.7.6-r2.ebuild
Filename:
MIME Type:
Creator:
Scott Amort
Created:
2006-06-27 10:39:27 UTC
Size:
2.32 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils java-pkg-opt-2 distutils flag-o-matic mono > >DESCRIPTION="A parser generator for C++, C#, Java, and Python" >HOMEPAGE="http://www.antlr.org/" >SRC_URI="http://www.antlr.org/download/${P}.tar.gz" > >LICENSE="ANTLR" >SLOT="0" >KEYWORDS="~x86 ~amd64" >IUSE="doc debug examples mono cxx java python script source shared" > >RDEPEND="java? ( >=virtual/jre-1.4 ) > cxx? ( dev-util/pkgconfig ) > mono? ( dev-lang/mono ) > python? ( dev-lang/python )" >DEPEND="java? ( >=virtual/jdk-1.4 ) > ${RDEPEND} > script? ( !dev-util/pccts ) > examples? ( sys-apps/findutils ) > source? ( app-arch/zip )" > >src_unpack() { > unpack ${A} > cd ${S} > epatch ${FILESDIR}/antlr-2.7.6-pkgconfig.patch > epatch ${FILESDIR}/antlr-2.7.6-csharp.patch >} > >src_compile() { > if use shared ; then > append-flags -fPIC > fi > > econf $(use_enable java) \ > $(use_enable cxx) \ > $(use_enable python) \ > $(use_enable mono csharp) \ > $(use_enable debug) \ > $(use_enable examples) \ > --enable-verbose || die "configure failed" > > emake || die "compile failed" > > if use java && use script ; then > cat > antlr.sh <<-EOF > #!/bin/sh > ANTLR_JAR=\$(java-config-1 -p antlr) > \$(java-config-1 -J) -cp \$ANTLR_JAR antlr.Tool \$* > EOF > fi >} > >src_install() { > exeinto /usr/bin > doexe ${S}/scripts/antlr-config > > if use cxx ; then > cd ${S}/lib/cpp > einstall || die "failed to install C++ files" > > insinto /usr/$(get_libdir)/pkgconfig > doins ${S}/scripts/antlr.pc > fi > > if use java ; then > exeinto /usr/bin > use script && newexe ${S}/antlr.sh antlr > > java-pkg_dojar ${S}/antlr/antlr.jar > > use source && java-pkg_dosrc ${S}/antlr > use doc && java-pkg_dohtml -r doc/* > fi > > if use mono ; then > cd ${S}/lib > > dodir /usr/$(get_libdir)/antlr/ > insinto /usr/$(get_libdir)/antlr/ > > doins antlr.astframe.dll > doins antlr.runtime.dll > fi > > if use python ; then > cd ${S}/lib/python > distutils_src_install > fi > > if use examples ; then > find ${S}/examples -iname Makefile\* -exec rm \{\} \; > > dodir /usr/share/doc/${PF}/examples > insinto /usr/share/doc/${PF}/examples > > use cxx && doins -r ${S}/examples/cpp > use java && doins -r ${S}/examples/java > use mono && doins -r ${S}/examples/csharp > use python && doins -r ${S}/examples/python > fi > > newdoc ${S}/README.txt README >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 138236
: 90288 |
90289
|
90290