summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2002-02-03 17:53:22 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2002-02-03 17:53:22 +0000
commit9f47989b70cf56a20f87378596ef52312bf3ae65 (patch)
tree2bc26a380f199c69df074284d7a1279fcc4e3771 /dev-java
parentFixed major compile-time trouble (diff)
downloadgentoo-2-9f47989b70cf56a20f87378596ef52312bf3ae65.tar.gz
gentoo-2-9f47989b70cf56a20f87378596ef52312bf3ae65.tar.bz2
gentoo-2-9f47989b70cf56a20f87378596ef52312bf3ae65.zip
Moved kaffe from dev-lang to dev-java
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/kaffe/ChangeLog18
-rw-r--r--dev-java/kaffe/files/30kaffe4
-rw-r--r--dev-java/kaffe/files/digest-kaffe-1.0.6-r11
-rw-r--r--dev-java/kaffe/files/kaffe-1.0.6-r1-gentoo.diff12
-rw-r--r--dev-java/kaffe/kaffe-1.0.6-r1.ebuild37
5 files changed, 72 insertions, 0 deletions
diff --git a/dev-java/kaffe/ChangeLog b/dev-java/kaffe/ChangeLog
new file mode 100644
index 000000000000..19014c342f45
--- /dev/null
+++ b/dev-java/kaffe/ChangeLog
@@ -0,0 +1,18 @@
+# ChangeLog for dev-lang/kaffe
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/dev-java/kaffe/ChangeLog,v 1.1 2002/02/03 17:53:22 karltk Exp $
+
+*kaffe-1.0.6-r1 (1 Feb 2002)
+
+ 3 Feb 2002; Karl Trygve Kalleberg <karltk@gentoo.org> :
+
+ Moved all files from dev-lang/kaffe to dev-java/kaffe. Kaffe is still not a
+ drop-in replacement for the Sun/IBM/Blackdown JDK/JREs.
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/dev-java/kaffe/files/30kaffe b/dev-java/kaffe/files/30kaffe
new file mode 100644
index 000000000000..867b3fbf8dcb
--- /dev/null
+++ b/dev-java/kaffe/files/30kaffe
@@ -0,0 +1,4 @@
+PATH=/opt/kaffe/bin
+ROOTPATH=/opt/kaffe/bin
+MANPATH=/opt/kaffe/man
+LDPATH=/opt/kaffe/lib
diff --git a/dev-java/kaffe/files/digest-kaffe-1.0.6-r1 b/dev-java/kaffe/files/digest-kaffe-1.0.6-r1
new file mode 100644
index 000000000000..d8e798deedbd
--- /dev/null
+++ b/dev-java/kaffe/files/digest-kaffe-1.0.6-r1
@@ -0,0 +1 @@
+MD5 5a900dd33e7bde48d2fa94ada273e80e kaffe-1.0.6.tar.gz 3586207
diff --git a/dev-java/kaffe/files/kaffe-1.0.6-r1-gentoo.diff b/dev-java/kaffe/files/kaffe-1.0.6-r1-gentoo.diff
new file mode 100644
index 000000000000..fd859c4fa0c8
--- /dev/null
+++ b/dev-java/kaffe/files/kaffe-1.0.6-r1-gentoo.diff
@@ -0,0 +1,12 @@
+--- kaffe-1.0.6/libraries/clib/native/System.c~ Thu Jun 22 16:17:11 2000
++++ kaffe-1.0.6/libraries/clib/native/System.c Sat Apr 28 15:13:32 2001
+@@ -20,9 +20,7 @@
+ #if defined(HAVE_PWD_H)
+ #include <pwd.h>
+ #endif
+-#if defined(HAVE_TIME_H)
+ #include <time.h>
+-#endif
+ #include <ctype.h>
+ #include "../../../kaffe/kaffevm/classMethod.h"
+ #include "../../../kaffe/kaffevm/gtypes.h"
diff --git a/dev-java/kaffe/kaffe-1.0.6-r1.ebuild b/dev-java/kaffe/kaffe-1.0.6-r1.ebuild
new file mode 100644
index 000000000000..c4191e45ea26
--- /dev/null
+++ b/dev-java/kaffe/kaffe-1.0.6-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Jerry Alexandratos <jerry@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/dev-java/kaffe/kaffe-1.0.6-r1.ebuild,v 1.1 2002/02/03 17:53:22 karltk Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="A cleanroom, open source Java VM and class libraries"
+SRC_URI="http://www.kaffe.org/ftp/pub/kaffe/${P}.tar.gz"
+HOMEPAGE="http://www.kaffe.org/"
+
+DEPEND=">=dev-libs/gmp-3.1
+ >=media-libs/jpeg-6b
+ >=media-libs/libpng-1.0.7
+ virtual/glibc
+ virtual/x11"
+
+src_unpack() {
+ unpack ${A}
+ patch -p0 <${FILESDIR}/${PF}-gentoo.diff
+}
+
+src_compile() {
+ ./configure --host=${CHOST} \
+ --prefix=/opt/kaffe
+ assert
+
+ make || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+
+ dodir /etc/env.d
+ insinto /etc/env.d
+ doins ${FILESDIR}/30kaffe
+ #30kaffe will set up the ld.so.path, path, manpath, etc.
+}