summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2004-07-31 21:52:05 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2004-07-31 21:52:05 +0000
commit6b070a5f4d18f3426f9fe2d553c17871492f4b90 (patch)
tree5948874964d396441c5ef5218e821e2ef7051111 /dev-java/gnu-classpath
parentprune old version (diff)
downloadhistorical-6b070a5f4d18f3426f9fe2d553c17871492f4b90.tar.gz
historical-6b070a5f4d18f3426f9fe2d553c17871492f4b90.tar.bz2
historical-6b070a5f4d18f3426f9fe2d553c17871492f4b90.zip
Added useflag for gtk+.
Diffstat (limited to 'dev-java/gnu-classpath')
-rw-r--r--dev-java/gnu-classpath/ChangeLog8
-rw-r--r--dev-java/gnu-classpath/files/digest-gnu-classpath-0.10-r11
-rw-r--r--dev-java/gnu-classpath/gnu-classpath-0.10-r1.ebuild34
3 files changed, 42 insertions, 1 deletions
diff --git a/dev-java/gnu-classpath/ChangeLog b/dev-java/gnu-classpath/ChangeLog
index c588b8c0653f..854ebf733be5 100644
--- a/dev-java/gnu-classpath/ChangeLog
+++ b/dev-java/gnu-classpath/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/gnu-classpath
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath/ChangeLog,v 1.14 2004/07/11 17:06:27 zx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath/ChangeLog,v 1.15 2004/07/31 21:52:05 karltk Exp $
+
+*gnu-classpath-0.10-r1 31 Jul 2004
+
+ 31 Jul 2004; Karl Trygve Kalleberg <karltk@gentoo.org>
+ gnu-classpath-0.10-r1.ebuild: Removed hard dep on gtk+, is now covered by USE
+ flag.
*gnu-classpath-0.09 (11 Jul 2004)
diff --git a/dev-java/gnu-classpath/files/digest-gnu-classpath-0.10-r1 b/dev-java/gnu-classpath/files/digest-gnu-classpath-0.10-r1
new file mode 100644
index 000000000000..5c29681097b7
--- /dev/null
+++ b/dev-java/gnu-classpath/files/digest-gnu-classpath-0.10-r1
@@ -0,0 +1 @@
+MD5 a59a5040f9c1237dbf27bfc668919943 classpath-0.10.tar.gz 6801054
diff --git a/dev-java/gnu-classpath/gnu-classpath-0.10-r1.ebuild b/dev-java/gnu-classpath/gnu-classpath-0.10-r1.ebuild
new file mode 100644
index 000000000000..48790c0fd9ac
--- /dev/null
+++ b/dev-java/gnu-classpath/gnu-classpath-0.10-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2004 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.10-r1.ebuild,v 1.1 2004/07/31 21:52:05 karltk Exp $
+
+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/classpath-${PV}.tar.gz"
+HOMEPAGE="http://www.gnu.org/software/classpath/"
+IUSE="jikes gtk"
+RDEPEND=">=virtual/jre-1.4
+ gtk? ( media-libs/gdk-pixbuf >=x11-libs/gtk+-2 >=media-libs/libart_lgpl-2.1 )"
+DEPEND=">=virtual/jdk-1.4
+ jikes? ( dev-java/jikes )"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~ppc"
+RESTRICT="nomirror"
+S=${WORKDIR}/classpath-${PV}
+
+src_compile() {
+ local myjavac="--with-java=`java-config -c`"
+ local myc=""
+ use jikes && myjavac="--with-jikes=/usr/bin/jikes"
+ use gtk && myc="${myc} --enable-gtk-peer" || myc="${myc} --disable-gtk-peer"
+ econf \
+ --enable-jni \
+ ${myc} \
+ --prefix=/usr/share/${PN}\
+ ${myjavac} || die
+ emake || die
+}
+
+src_install () {
+ einstall || die
+}