diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-11-19 19:58:16 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-11-19 19:58:16 +0000 |
commit | f6a0ccf39b71f7bc05b02c577ca358818dec4788 (patch) | |
tree | d777fc57aaf3d921a032e3ea2a3232889ac6cc08 /dev-java | |
parent | Fixing dbus depends (diff) | |
download | gentoo-2-f6a0ccf39b71f7bc05b02c577ca358818dec4788.tar.gz gentoo-2-f6a0ccf39b71f7bc05b02c577ca358818dec4788.tar.bz2 gentoo-2-f6a0ccf39b71f7bc05b02c577ca358818dec4788.zip |
Version bump, bug #134909. It is now recognized by java-config for using as a VM. Removed ppc64 keyword until dev-libs/libffi can be keyworded.
(Portage version: 2.1.2_rc1-r5)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jamvm/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/jamvm/files/digest-jamvm-1.4.4 | 3 | ||||
-rw-r--r-- | dev-java/jamvm/files/jamvm.env | 11 | ||||
-rw-r--r-- | dev-java/jamvm/jamvm-1.4.4.ebuild | 47 |
4 files changed, 69 insertions, 1 deletions
diff --git a/dev-java/jamvm/ChangeLog b/dev-java/jamvm/ChangeLog index 27d38a6e0ddd..fbe9a5fdaa3b 100644 --- a/dev-java/jamvm/ChangeLog +++ b/dev-java/jamvm/ChangeLog @@ -1,6 +1,13 @@ # 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.20 2006/06/11 19:17:33 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/ChangeLog,v 1.21 2006/11/19 19:58:16 nichoj Exp $ + +*jamvm-1.4.4 (19 Nov 2006) + + 19 Nov 2006; Joshua Nichols <nichoj@gentoo.org> +files/jamvm.env, + +jamvm-1.4.4.ebuild: + Version bump, bug #134909. It is now recognized by java-config for using as + a VM. Removed ppc64 keyword until dev-libs/libffi can be keyworded. 11 Jun 2006; Markus Rothe <corsair@gentoo.org> jamvm-1.4.2.ebuild: Stable on ppc64; bug #105973 diff --git a/dev-java/jamvm/files/digest-jamvm-1.4.4 b/dev-java/jamvm/files/digest-jamvm-1.4.4 new file mode 100644 index 000000000000..7aaa1c45ad5e --- /dev/null +++ b/dev-java/jamvm/files/digest-jamvm-1.4.4 @@ -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 new file mode 100644 index 000000000000..0782094520ed --- /dev/null +++ b/dev-java/jamvm/files/jamvm.env @@ -0,0 +1,11 @@ +VERSION="JamVM @PV@" +JAVA_HOME=/opt/@P@ +BOOTCLASSPATH="/usr/share/classpath/glibj.zip" +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_VERSION="1.4" +GENERATION="2" +ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH" diff --git a/dev-java/jamvm/jamvm-1.4.4.ebuild b/dev-java/jamvm/jamvm-1.4.4.ebuild new file mode 100644 index 000000000000..003658e35bd8 --- /dev/null +++ b/dev-java/jamvm/jamvm-1.4.4.ebuild @@ -0,0 +1,47 @@ +# 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.ebuild,v 1.1 2006/11/19 19:58:16 nichoj 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.19 + dev-libs/libffi" +DEPEND="${DEPEND}" + +src_compile() { + filter-flags "-fomit-frame-pointer" + + # make sure configure can find libffi + export CPPFLAGS="-I/usr/lib/libffi" + export LDFLAGS="-L/usr/$(get_libdir)/libffi" + # 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 +} |