diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-06-04 06:43:11 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-06-04 06:43:11 +0000 |
commit | 293851c9f7b32f230dd1cd75bf244216cd6fe5b3 (patch) | |
tree | 049de48d19b30b8bcbabc5e6e2b81a71e739dd75 /dev-java | |
parent | Allow portmap or rpcbind #272363 by peteru. (diff) | |
download | historical-293851c9f7b32f230dd1cd75bf244216cd6fe5b3.tar.gz historical-293851c9f7b32f230dd1cd75bf244216cd6fe5b3.tar.bz2 historical-293851c9f7b32f230dd1cd75bf244216cd6fe5b3.zip |
Convert to virtual/libffi wrt #272051
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jamvm/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/jamvm/Manifest | 13 | ||||
-rw-r--r-- | dev-java/jamvm/jamvm-1.5.0-r3.ebuild | 88 |
3 files changed, 98 insertions, 13 deletions
diff --git a/dev-java/jamvm/ChangeLog b/dev-java/jamvm/ChangeLog index 8ff4b9cc337e..8ba93ba11dc6 100644 --- a/dev-java/jamvm/ChangeLog +++ b/dev-java/jamvm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/jamvm -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/ChangeLog,v 1.34 2009/03/07 14:37:20 betelgeuse Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/ChangeLog,v 1.35 2009/06/04 06:43:11 ssuominen Exp $ + +*jamvm-1.5.0-r3 (04 Jun 2009) + + 04 Jun 2009; Samuli Suominen <ssuominen@gentoo.org> + +jamvm-1.5.0-r3.ebuild: + Convert to virtual/libffi wrt #272051 07 Mar 2009; Petteri Räty <betelgeuse@gentoo.org> jamvm-1.5.0-r2.ebuild: Migrate to EAPI 2. diff --git a/dev-java/jamvm/Manifest b/dev-java/jamvm/Manifest index ba4b5b588bc8..c2cf08bd3c95 100644 --- a/dev-java/jamvm/Manifest +++ b/dev-java/jamvm/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX classes-location.patch 1184 RMD160 7ab849c181808d61bba64ed1a98a575ac14da4fd SHA1 632e5a2785435e95da534ea1c8a0d75004016083 SHA256 c973ef294f31c2937a55d5f683dc3ee2623877439b777093663e4f6367a791b1 AUX jamvm-1.5.0.env 382 RMD160 e3a4953826ea66d17aed7b07795929949ebd6c6e SHA1 ab86a7bc601672b47afa7bb259edec0942248c10 SHA256 0b4930e4636771ec76ea053c64064b0fe1ab64d477ac365f88fcd70dc95ed7d7 AUX jamvm.env 331 RMD160 33e990fb7c22f310cc9c4ce678a67f3f8062ade1 SHA1 c60faaf90d26c45ceaaf1a84d2b476aed7adb048 SHA256 dca8067931277eb7e919c820d83e3dcfaa46d9c70103f2c023e83eb04b45bd92 @@ -8,12 +5,6 @@ DIST jamvm-1.4.2.tar.gz 285593 RMD160 ca9d26f90dd04e5aaefb1c33dda59a4f41456e31 S DIST jamvm-1.5.0.tar.gz 594250 RMD160 cfe80de1e2895df177b054cc622df2ed8e51feb9 SHA1 35b29d09635ec95efdee4eaab815c4bbf4130147 SHA256 18b269b1bfad7230384681e89189c6af18584e19cddbf92208c0acef814046ab EBUILD jamvm-1.4.2.ebuild 1058 RMD160 059f12a824e6177b53d903a65f2cfa56edb047d7 SHA1 91f8cf3b8075ca5109f97e826e30b187c532fc66 SHA256 39b323f11ed4fba94e2ef84a9525d4b7427d08150fd24fd920d85b80b91223b2 EBUILD jamvm-1.5.0-r2.ebuild 2274 RMD160 4704aefd6501bf3fcc15ebab52146334e612a778 SHA1 6255b057059e776bf06550ab4857639afe5e8f4d SHA256 65870a2008ac422c0b8112a655602c534bd801a01e372d1bec5656cd8ce57aa6 -MISC ChangeLog 5233 RMD160 71f49cabd5cc5362236fbb50322085c30032b77c SHA1 13164c0ef6851e6af516d33ec888e295cf047cd2 SHA256 d63471268ec343253a4c230c72d04878c05f8fc70f5cd949ddb3f6d3ec05c4b7 +EBUILD jamvm-1.5.0-r3.ebuild 2264 RMD160 a86ce66be90ea7da4ff72e633f6d9f01aa73a318 SHA1 d9c17446b03580445e49e4804693765bc515a923 SHA256 3cb1d25d78b1818fa67ee86df687030ebcdae005e712166d8333d64fb903f4cd +MISC ChangeLog 5384 RMD160 ded73c63be83972b32009ce0942f750d9d25cd8e SHA1 475cd3a07e34cabd5f72b86c5d71bc5d7382dfc6 SHA256 af8120207c4d51efde962ce7fe84c6b66f749921dba813e37652cfe3ec3142da MISC metadata.xml 250 RMD160 768ed9ef97f57c25c39ed3bd46a88b44e104526e SHA1 ec1919e99fc0395f90a0aff91ce77bf13c95d399 SHA256 380eb6d01f833fe0077b518b8f4b9230baf88fa61463de48ff6c672755edd442 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.10 (GNU/Linux) - -iEYEARECAAYFAkmyhvwACgkQcxLzpIGCsLTD0wCghPHU/C6IORNNUqITNLeK9JGX -N/4An28MglqbYu11M+6Ezi49ntOVKmv+ -=SVBK ------END PGP SIGNATURE----- diff --git a/dev-java/jamvm/jamvm-1.5.0-r3.ebuild b/dev-java/jamvm/jamvm-1.5.0-r3.ebuild new file mode 100644 index 000000000000..8b6fcb06148c --- /dev/null +++ b/dev-java/jamvm/jamvm-1.5.0-r3.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/jamvm-1.5.0-r3.ebuild,v 1.1 2009/06/04 06:43:11 ssuominen Exp $ + +EAPI=2 + +inherit autotools 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 libffi" + +CLASSPATH_SLOT=0.97 +DEPEND=" + dev-java/gnu-classpath:${CLASSPATH_SLOT} + libffi? ( virtual/libffi ) + amd64? ( virtual/libffi ) + " +RDEPEND="${DEPEND}" +PDEPEND="dev-java/ant-eclipse-ecj:3.3 dev-java/gjdoc" + +src_prepare() { + epatch "${FILESDIR}/classes-location.patch" + eautoreconf + + # 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 +} + +CLASSPATH_DIR=/opt/gnu-classpath-${CLASSPATH_SLOT} + +src_configure() { + filter-flags "-fomit-frame-pointer" + + if use libffi; then + append-cflags "$(pkg-config --cflags-only-I libffi)" + fi + + # Keep libjvm.so out of /usr + # http://bugs.gentoo.org/show_bug.cgi?id=181896 + econf \ + $(use_enable debug trace) \ + --prefix=/opt/${PN} \ + --bindir=/usr/bin \ + --datadir=/opt \ + $(use_enable libffi ffi) \ + --disable-dependency-tracking \ + --with-classpath-install-dir=${CLASSPATH_DIR} +} + +create_launcher() { + local script="${D}/opt/${PN}/bin/${1}" + cat > "${script}" <<-EOF +#!/bin/sh +exec /usr/bin/jamvm \ + -Xbootclasspath/p:"${CLASSPATH_DIR}/share/classpath/tools.zip" \ + gnu.classpath.tools.${1}.Main "\$@" +EOF + chmod +x "${script}" +} + +src_install() { + emake DESTDIR="${D}" install || die "installation failed." + + dodoc ACKNOWLEDGEMENTS AUTHORS ChangeLog NEWS README \ + || die "dodoc failed" + + set_java_env "${FILESDIR}/${PN}-1.5.0.env" + + local bindir=/opt/${PN}/bin + dodir ${bindir} + dosym /usr/bin/jamvm ${bindir}/java + dosym /usr/bin/ecj-3.3 ${bindir}/javac + dosym /usr/bin/gjdoc ${bindir}/javadoc + for file in ${CLASSPATH_DIR}/bin/*; do + base=$(basename ${file}) + create_launcher ${base#g} + done +} |