Changed PROVIDES_TYPE from "JDK" to "JDK JRE"
authorPetteri Räty <betelgeuse@gentoo.org>
Fri, 1 Dec 2006 18:38:53 +0000 (18:38 +0000)
committerPetteri Räty <betelgeuse@gentoo.org>
Fri, 1 Dec 2006 18:38:53 +0000 (18:38 +0000)
Package-Manager: portage-2.1.2_rc2-r3

dev-java/jamvm/ChangeLog
dev-java/jamvm/files/digest-jamvm-1.4.4-r1 [new file with mode: 0644]
dev-java/jamvm/files/jamvm.env
dev-java/jamvm/jamvm-1.4.4-r1.ebuild [new file with mode: 0644]

index 2eb6c21ac1e0e621e0b4eddf0d5a490aa28eb6cd..7b064532fa4941f7b93300d65478738aa5f16309 100644 (file)
@@ -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 (file)
index 0000000..7aaa1c4
--- /dev/null
@@ -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
index 0782094520ed20ae0c14a59ec4189b96cd3135da..19120fbbea21e59980cdf36333641a43c9330f69 100644 (file)
@@ -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 (file)
index 0000000..4744f4a
--- /dev/null
@@ -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
+}