summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2006-12-01 18:38:53 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2006-12-01 18:38:53 +0000
commited5ed52a1b2710e3c75d2a98ac106bdfe15b335f (patch)
tree6f9f2ffbce2e947ed0a50d17b6429d69aebd3b14 /dev-java/jamvm
parentMasking glitz USE since we lack hardware GL (diff)
downloadhistorical-ed5ed52a1b2710e3c75d2a98ac106bdfe15b335f.tar.gz
historical-ed5ed52a1b2710e3c75d2a98ac106bdfe15b335f.tar.bz2
historical-ed5ed52a1b2710e3c75d2a98ac106bdfe15b335f.zip
Changed PROVIDES_TYPE from "JDK" to "JDK JRE"
Package-Manager: portage-2.1.2_rc2-r3
Diffstat (limited to 'dev-java/jamvm')
-rw-r--r--dev-java/jamvm/ChangeLog5
-rw-r--r--dev-java/jamvm/files/digest-jamvm-1.4.4-r13
-rw-r--r--dev-java/jamvm/files/jamvm.env2
-rw-r--r--dev-java/jamvm/jamvm-1.4.4-r1.ebuild46
4 files changed, 54 insertions, 2 deletions
diff --git a/dev-java/jamvm/ChangeLog b/dev-java/jamvm/ChangeLog
index 2eb6c21ac1e0..7b064532fa49 100644
--- a/dev-java/jamvm/ChangeLog
+++ b/dev-java/jamvm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/jamvm
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/ChangeLog,v 1.23 2006/11/19 22:10:50 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/ChangeLog,v 1.24 2006/12/01 18:38:53 betelgeuse Exp $
+
+ 01 Dec 2006; Petteri Räty <betelgeuse@gentoo.org> files/jamvm.env:
+ Changed PROVIDES_TYPE from "JDK" to "JDK JRE"
19 Nov 2006; Petteri Räty <betelgeuse@gentoo.org> jamvm-1.4.4.ebuild:
Fixed gnu-classpath dependency atom to only match the 0.92 slot.
diff --git a/dev-java/jamvm/files/digest-jamvm-1.4.4-r1 b/dev-java/jamvm/files/digest-jamvm-1.4.4-r1
new file mode 100644
index 000000000000..7aaa1c45ad5e
--- /dev/null
+++ b/dev-java/jamvm/files/digest-jamvm-1.4.4-r1
@@ -0,0 +1,3 @@
+MD5 1b7bc9928c534412e062685a4191651d jamvm-1.4.4.tar.gz 530157
+RMD160 765149cf26314ab6355fcbec37b833b4e4e5fc88 jamvm-1.4.4.tar.gz 530157
+SHA256 991a6f4e452e8d05750f33d5bac96b842e9093072c5152255bc75cfcf0b173e5 jamvm-1.4.4.tar.gz 530157
diff --git a/dev-java/jamvm/files/jamvm.env b/dev-java/jamvm/files/jamvm.env
index 0782094520ed..19120fbbea21 100644
--- a/dev-java/jamvm/files/jamvm.env
+++ b/dev-java/jamvm/files/jamvm.env
@@ -5,7 +5,7 @@ JDK_HOME=/opt/@P@
JAVAC=${JAVA_HOME}/bin/javac
PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
-PROVIDES_TYPE="JDK"
+PROVIDES_TYPE="JDK JRE"
PROVIDES_VERSION="1.4"
GENERATION="2"
ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH"
diff --git a/dev-java/jamvm/jamvm-1.4.4-r1.ebuild b/dev-java/jamvm/jamvm-1.4.4-r1.ebuild
new file mode 100644
index 000000000000..4744f4aae24b
--- /dev/null
+++ b/dev-java/jamvm/jamvm-1.4.4-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/jamvm-1.4.4-r1.ebuild,v 1.1 2006/12/01 18:38:53 betelgeuse Exp $
+
+inherit eutils flag-o-matic multilib java-vm-2
+
+DESCRIPTION="An extremely small and specification-compliant virtual machine."
+HOMEPAGE="http://jamvm.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug"
+
+RDEPEND="=dev-java/gnu-classpath-0.92*
+ dev-libs/libffi"
+DEPEND="${DEPEND}"
+PDEPEND="=dev-java/eclipse-ecj-3.2* dev-java/gjdoc"
+
+src_compile() {
+ filter-flags "-fomit-frame-pointer"
+
+ # configure adds "/share/classpath" itself
+ # includedir puts jni.h in a package dependent folder
+ local myc="--with-classpath-install-dir=/opt/gnu-classpath-0.92
+ --includedir=/usr/include/${PN}"
+ use debug && myc="${myc} --enable-trace"
+
+ econf ${myc} || die "configure failed."
+ emake || die "make failed."
+}
+
+src_install() {
+ emake DESTDIR=${D} install || die "installation failed."
+
+ dodoc ACKNOWLEDGEMENTS AUTHORS ChangeLog NEWS README \
+ || die "dodoc failed"
+
+ set_java_env
+
+ dodir /opt/${P}/bin
+ dosym /usr/bin/jamvm /opt/${P}/bin/java
+ dosym /usr/bin/ecj-3.2 /opt/${P}/bin/javac
+ dosym /usr/bin/gjdoc /opt/${P}/bin/javadoc
+}