merge of chico-Overlay

This commit is contained in:
Micha Glave
2006-04-05 11:42:10 +00:00
parent 49a0cfa23b
commit d48cbb4e0b
26 changed files with 294 additions and 621 deletions

View File

@@ -0,0 +1,6 @@
MD5 9116576687153c82996c52974a42055f files/digest-gnu-classpath-0.90 247
RMD160 e73cf0c9a30616c77a889131831c75f438847d32 files/digest-gnu-classpath-0.90 247
SHA256 3d292ab35abca43e6a7259848428839997f9a5c7c41398d762edaefe9712ec73 files/digest-gnu-classpath-0.90 247
MD5 61dc80cb60759589f761b2e52b51112b gnu-classpath-0.90.ebuild 2335
RMD160 e0fb390858a48882417cf08c150e2d9c88135aa7 gnu-classpath-0.90.ebuild 2335
SHA256 4a69c0c4550bb95f63dd8ee6f4b17f9925783751c3c3b41fab99534c78729f62 gnu-classpath-0.90.ebuild 2335

View File

@@ -0,0 +1,3 @@
MD5 cf5aaaf07fe43567fa605b33165355d7 classpath-0.90.tar.gz 7930836
RMD160 e108fb537610ae993d1968d606aa43e6f804a402 classpath-0.90.tar.gz 7930836
SHA256 4f2824c42062dea269e489c1acb2769c015bf78cdaa929ee75441d412f10a03b classpath-0.90.tar.gz 7930836

View File

@@ -0,0 +1,84 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath/gnu-classpath-0.20.ebuild,v 1.3 2006/02/05 14:25:43 betelgeuse Exp $
inherit eutils
MY_P=${P/gnu-/}
DESCRIPTION="Free core class libraries for use with virtual machines and compilers for the Java programming language"
SRC_URI="ftp://ftp.gnu.org/gnu/classpath/${MY_P}.tar.gz"
HOMEPAGE="http://www.gnu.org/software/classpath"
LICENSE="GPL-2-with-linking-exception"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~ppc"
# Add the doc use flag after the upstream build system is improved
# See their bug 24025
IUSE="alsa cairo debug dssi examples gtk xml2"
RDEPEND="alsa? ( media-libs/alsa-lib )
dssi? ( >=media-libs/dssi-0.9 )
gtk? ( >=x11-libs/gtk+-2.4
>=dev-libs/glib-2.0
|| ( (
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXtst
)
virtual/x11
)
cairo? ( >=x11-libs/cairo-0.5.0 )
)
xml2? ( >=dev-libs/libxml2-2.6.8 >=dev-libs/libxslt-1.1.11 )"
DEPEND="app-arch/zip
dev-java/jikes
gtk? ( || ( (
x11-libs/libXrender
x11-proto/xextproto
x11-proto/xproto
)
virtual/x11
)
)
${REPEND}"
S=${WORKDIR}/${MY_P}
src_compile() {
# Note: This is written in a way to easily support GCJ and other compilers
# at a later point. Currently Gentoo uses mainly GCJ 3.3 (from the
# corresponding GCC) which cannot compile GNU Classpath correctly.
# Another possibility would be ECJ (from Eclipse).
local compiler="--with-gcj"
econf ${compiler} \
$(use_enable alsa) \
$(use_enable cairo gtk-cairo) \
$(use_enable debug ) \
$(use_enable examples) \
$(use_enable gtk gtk-peer) \
$(use_enable xml2 xmlj) \
$(use_enable dssi ) \
|| die "configure failed"
# disabled for now... see above.
# $(use_with doc gjdoc) \
emake || die "make failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS BUGS ChangeLog* HACKING NEWS README THANKYOU TODO
}
pkg_postinst() {
if use gtk && use cairo; then
einfo "GNU Classpath was compiled with preliminary cairo support."
einfo "To use that functionality set the system property"
einfo "gnu.java.awt.peer.gtk.Graphics to Graphics2D at runtime."
fi
}