From 053d804913ea056e0765e432d26a3d07fb6e91c8 Mon Sep 17 00:00:00 2001 From: Joshua Nichols Date: Sun, 19 Nov 2006 19:58:16 +0000 Subject: [PATCH] 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. Package-Manager: portage-2.1.2_rc1-r5 --- dev-java/jamvm/ChangeLog | 9 ++++- dev-java/jamvm/Manifest | 28 +++++++++++++-- dev-java/jamvm/files/digest-jamvm-1.4.4 | 3 ++ dev-java/jamvm/files/jamvm.env | 11 ++++++ dev-java/jamvm/jamvm-1.4.4.ebuild | 47 +++++++++++++++++++++++++ 5 files changed, 95 insertions(+), 3 deletions(-) create mode 100644 dev-java/jamvm/files/digest-jamvm-1.4.4 create mode 100644 dev-java/jamvm/files/jamvm.env create mode 100644 dev-java/jamvm/jamvm-1.4.4.ebuild 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 +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 jamvm-1.4.2.ebuild: Stable on ppc64; bug #105973 diff --git a/dev-java/jamvm/Manifest b/dev-java/jamvm/Manifest index 272e9fe4bb4b..38aa725e18e3 100644 --- a/dev-java/jamvm/Manifest +++ b/dev-java/jamvm/Manifest @@ -1,4 +1,28 @@ -MD5 0eecb1cbac3a9f5067f09c338ee15708 ChangeLog 2998 -MD5 f0beff726b9d5a90ba8471d7bfd8bae3 files/digest-jamvm-1.4.2 235 +AUX jamvm.env 327 RMD160 86b32080858d3fb4859411e6572b3d1865eba297 SHA1 c9e96b7a1feaf1f329e57d968caa408fbcfb4224 SHA256 21f55567c9dda366be3dac8d6063b56ef9b04713d0c332aaadab10cb82f19dc4 +MD5 303152bfab3a96d9d773a16a91dbff22 files/jamvm.env 327 +RMD160 86b32080858d3fb4859411e6572b3d1865eba297 files/jamvm.env 327 +SHA256 21f55567c9dda366be3dac8d6063b56ef9b04713d0c332aaadab10cb82f19dc4 files/jamvm.env 327 +DIST jamvm-1.4.2.tar.gz 285593 RMD160 ca9d26f90dd04e5aaefb1c33dda59a4f41456e31 SHA256 dae915b7f963762385df2f4660eaad497261fa72393ba69339530e5b0b5d8bc3 +DIST jamvm-1.4.4.tar.gz 530157 RMD160 765149cf26314ab6355fcbec37b833b4e4e5fc88 SHA1 1a371a744da6faad3f5edd97966ec6b7fcc10432 SHA256 991a6f4e452e8d05750f33d5bac96b842e9093072c5152255bc75cfcf0b173e5 +EBUILD jamvm-1.4.2.ebuild 1058 RMD160 059f12a824e6177b53d903a65f2cfa56edb047d7 SHA1 91f8cf3b8075ca5109f97e826e30b187c532fc66 SHA256 39b323f11ed4fba94e2ef84a9525d4b7427d08150fd24fd920d85b80b91223b2 MD5 f14ccf87ebfe20825f7143bd09c31715 jamvm-1.4.2.ebuild 1058 +RMD160 059f12a824e6177b53d903a65f2cfa56edb047d7 jamvm-1.4.2.ebuild 1058 +SHA256 39b323f11ed4fba94e2ef84a9525d4b7427d08150fd24fd920d85b80b91223b2 jamvm-1.4.2.ebuild 1058 +EBUILD jamvm-1.4.4.ebuild 1394 RMD160 f2c3dfc9e366a9f51400138f03ae9b4d401b598f SHA1 4097c42e1454aa3925180da30f89776900aa1319 SHA256 96bef1c70d56f1a0f4c3ff737ee7c20a896b95354483cda76939e426f76c038f +MD5 cc52d5e600389d11672029f780080a71 jamvm-1.4.4.ebuild 1394 +RMD160 f2c3dfc9e366a9f51400138f03ae9b4d401b598f jamvm-1.4.4.ebuild 1394 +SHA256 96bef1c70d56f1a0f4c3ff737ee7c20a896b95354483cda76939e426f76c038f jamvm-1.4.4.ebuild 1394 +MISC ChangeLog 3265 RMD160 72c5a66f44b67e2a9e5f5d0276f3ea0be65b84b5 SHA1 2a48dd4c166ed31fa54b1a844036a3acca1aa1f0 SHA256 80350423f2258ff963a057ced88f6edeb96505d146442daa6d1f4759cfc627fb +MD5 425129e17474008c54e695535b885024 ChangeLog 3265 +RMD160 72c5a66f44b67e2a9e5f5d0276f3ea0be65b84b5 ChangeLog 3265 +SHA256 80350423f2258ff963a057ced88f6edeb96505d146442daa6d1f4759cfc627fb ChangeLog 3265 +MISC metadata.xml 307 RMD160 12a80496d6e4141110fe377226b9c59318e8f183 SHA1 a8ae42942a61002e99d3b8f998fe57c3551e40af SHA256 cb3f00e0283c13f0ec70a45c50629eb752ec218cc558fbf8ba6221d2587c2f1c MD5 21e72fb69eb84dd0206044b8b80b71d4 metadata.xml 307 +RMD160 12a80496d6e4141110fe377226b9c59318e8f183 metadata.xml 307 +SHA256 cb3f00e0283c13f0ec70a45c50629eb752ec218cc558fbf8ba6221d2587c2f1c metadata.xml 307 +MD5 f0beff726b9d5a90ba8471d7bfd8bae3 files/digest-jamvm-1.4.2 235 +RMD160 7aa1518c443b9c8f80aad011086bb83c5ca7d6a6 files/digest-jamvm-1.4.2 235 +SHA256 3c3ebbcad95c70d673a08f59a43089abae2064f804839aa0e8b2283df24c1665 files/digest-jamvm-1.4.2 235 +MD5 9b8d0cbc40957a070706578f061a967e files/digest-jamvm-1.4.4 235 +RMD160 9d76c33813a6266a682061b9a57a84d041fa9be2 files/digest-jamvm-1.4.4 235 +SHA256 c2d67b0e93b536be8d91c722284b8ffaa60ab33958dd628847c57aa3c2b4ec80 files/digest-jamvm-1.4.4 235 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 +} -- 2.26.2