# 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.24 2006/12/01 18:38:53 betelgeuse Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/ChangeLog,v 1.25 2007/02/28 14:03:45 betelgeuse Exp $
+
+*jamvm-1.4.5 (28 Feb 2007)
+
+ 28 Feb 2007; Petteri Räty <betelgeuse@gentoo.org> +jamvm-1.4.5.ebuild:
+ Version bump. This version makes using dev-util/libffi optional via the ffi
+ use flag. Fixes bug #158754.
01 Dec 2006; Petteri Räty <betelgeuse@gentoo.org> files/jamvm.env:
Changed PROVIDES_TYPE from "JDK" to "JDK JRE"
SHA256 dca8067931277eb7e919c820d83e3dcfaa46d9c70103f2c023e83eb04b45bd92 files/jamvm.env 331
DIST jamvm-1.4.2.tar.gz 285593 RMD160 ca9d26f90dd04e5aaefb1c33dda59a4f41456e31 SHA1 cfda95e52261d58e535a0c8ec03878304e9560c7 SHA256 dae915b7f963762385df2f4660eaad497261fa72393ba69339530e5b0b5d8bc3
DIST jamvm-1.4.4.tar.gz 530157 RMD160 765149cf26314ab6355fcbec37b833b4e4e5fc88 SHA1 1a371a744da6faad3f5edd97966ec6b7fcc10432 SHA256 991a6f4e452e8d05750f33d5bac96b842e9093072c5152255bc75cfcf0b173e5
+DIST jamvm-1.4.5.tar.gz 547407 RMD160 63221c64e285349494f9a3166dce7e2a58381a55 SHA1 ad22e8eedf375230eae2917660c09c9063ffafd8 SHA256 f329d1c8f42c06b53a3e82763d33900b100b8e9acd7afe02f7583c51253fd6e5
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
MD5 45c3d3a9fb8269ca2907fb6c0d6be84d jamvm-1.4.4-r1.ebuild 1338
RMD160 022bd907d133dbec8b56a4cb7aa3dad91d7d594f jamvm-1.4.4-r1.ebuild 1338
SHA256 9cd3c7a0c7093a2546f2b83a6fa67eed66ab180134261b7214cf52330302a70f jamvm-1.4.4-r1.ebuild 1338
-MISC ChangeLog 3676 RMD160 1a31b0b219b65cdaa8fa85d2b5a746eefbf98740 SHA1 86c4176d2e1aa4cbfe14e1e202eb4881b0719794 SHA256 dcfca93c58aebe8dc8cf35f12c4056de75af743d38dd9ed8a3fd4adceb4a1846
-MD5 c15acfb6b06d26676fe4290f55e3bb26 ChangeLog 3676
-RMD160 1a31b0b219b65cdaa8fa85d2b5a746eefbf98740 ChangeLog 3676
-SHA256 dcfca93c58aebe8dc8cf35f12c4056de75af743d38dd9ed8a3fd4adceb4a1846 ChangeLog 3676
+EBUILD jamvm-1.4.5.ebuild 1704 RMD160 dc069285bf6ac9f9b702112e1162da0dc737f4b2 SHA1 9d714a7aae8ff885bafaf8346dd87b772591151e SHA256 2eb8989fd573cdf5cb17d85354176a25b77ef42c58cd3de61572e970d5923d66
+MD5 77e7941c319158239bc003be32009d6e jamvm-1.4.5.ebuild 1704
+RMD160 dc069285bf6ac9f9b702112e1162da0dc737f4b2 jamvm-1.4.5.ebuild 1704
+SHA256 2eb8989fd573cdf5cb17d85354176a25b77ef42c58cd3de61572e970d5923d66 jamvm-1.4.5.ebuild 1704
+MISC ChangeLog 3888 RMD160 9ff6d3426efd0fb5099fb1e1fa1f80434601fa6d SHA1 c4a885c1c871a6ba4429e3acc8daa03e285d6fe9 SHA256 265b18e4216e626c7fb33e0942d1efb0c2e468c1355b10c4a3127759b8db583e
+MD5 f1f8a58e79766d03a032f7f80d062ec0 ChangeLog 3888
+RMD160 9ff6d3426efd0fb5099fb1e1fa1f80434601fa6d ChangeLog 3888
+SHA256 265b18e4216e626c7fb33e0942d1efb0c2e468c1355b10c4a3127759b8db583e ChangeLog 3888
MISC metadata.xml 159 RMD160 8da0afd0f687b8985b7f0432fec737950271e354 SHA1 1d089c3afbfafd09e371d7806cc0c72a5c76e5a1 SHA256 da2aaa3223c5418688dfbba6f899648c5bcb2e4610126519a1a862913c4f8fa6
MD5 1a27d03fe84c50463e67139ac818e84c metadata.xml 159
RMD160 8da0afd0f687b8985b7f0432fec737950271e354 metadata.xml 159
MD5 9b8d0cbc40957a070706578f061a967e files/digest-jamvm-1.4.4-r1 235
RMD160 9d76c33813a6266a682061b9a57a84d041fa9be2 files/digest-jamvm-1.4.4-r1 235
SHA256 c2d67b0e93b536be8d91c722284b8ffaa60ab33958dd628847c57aa3c2b4ec80 files/digest-jamvm-1.4.4-r1 235
+MD5 6c8b6b14bda9a3ebc6d777a6c38e4f57 files/digest-jamvm-1.4.5 235
+RMD160 6af06047d371141b6d9a5443701cfd1dd5760722 files/digest-jamvm-1.4.5 235
+SHA256 accc133eeae3eebf7e31e1dd9d39da216b17b7c4f63ffee27baeaff5817dad3e files/digest-jamvm-1.4.5 235
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
+Version: GnuPG v2.0.2 (GNU/Linux)
-iD8DBQFFcHa9cxLzpIGCsLQRAvRWAJ93GPP9i4K95NHbbGdMDYMqtV/KTgCfSQdp
-Jv+SQe2OJS2mbwEfP0Xx2Jo=
-=1Za9
+iD8DBQFF5YfJcxLzpIGCsLQRAvwaAJ9tqb750Q21/iW7ULL1Kzfh5qPQYwCgg5nT
+FE3/vuImZoiilmOSThGxmOw=
+=6sfg
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 3f538bab6e1c77aed331e5e71f754f5b jamvm-1.4.5.tar.gz 547407
+RMD160 63221c64e285349494f9a3166dce7e2a58381a55 jamvm-1.4.5.tar.gz 547407
+SHA256 f329d1c8f42c06b53a3e82763d33900b100b8e9acd7afe02f7583c51253fd6e5 jamvm-1.4.5.tar.gz 547407
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/jamvm-1.4.5.ebuild,v 1.1 2007/02/28 14:03:45 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 ffi"
+
+RDEPEND="~dev-java/gnu-classpath-0.93
+ ffi? ( dev-libs/libffi )"
+DEPEND="${DEPEND}"
+PDEPEND="=dev-java/eclipse-ecj-3.2* dev-java/gjdoc"
+
+#src_unpack() {
+# unpack "${A}"
+# cd "${S}"
+ # These come precompiled.
+ # configure script uses detects the compiler
+ # from PATH. I guess we should compile this from source.
+ # Then just make sure not to hit
+ # https://bugs.gentoo.org/show_bug.cgi?id=163801
+ #rm -v lib/classes.zip || die
+#}
+
+src_compile() {
+ filter-flags "-fomit-frame-pointer"
+
+ local myc
+ use debug && myc="${myc} --enable-trace"
+ use ffi && append-flags -L/usr/lib/libffi
+
+ # configure adds "/share/classpath" itself
+ # includedir puts jni.h in a package dependent folder
+ econf ${myc} \
+ $(use_enable ffi) \
+ --includedir=/usr/include/${PN} \
+ --with-classpath-install-dir=/opt/gnu-classpath-0.93 \
+ || 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
+}