diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-03-03 19:57:26 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-03-03 19:57:26 +0000 |
commit | 88fac731043e57df372373bdd81fd6dcf3a49fab (patch) | |
tree | 30e6e9817cceba4d6e4b5d847373833d3e7ccc70 /dev-java/jamvm | |
parent | Version bump. (diff) | |
download | historical-88fac731043e57df372373bdd81fd6dcf3a49fab.tar.gz historical-88fac731043e57df372373bdd81fd6dcf3a49fab.tar.bz2 historical-88fac731043e57df372373bdd81fd6dcf3a49fab.zip |
Add vm file changes required to integrate with our eclasses. PDEPEND on dev-java/ant-eclipse-ecj so that eant works.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-java/jamvm')
-rw-r--r-- | dev-java/jamvm/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/jamvm/Manifest | 11 | ||||
-rw-r--r-- | dev-java/jamvm/files/jamvm-1.5.0.env | 2 | ||||
-rw-r--r-- | dev-java/jamvm/jamvm-1.5.0-r1.ebuild | 76 |
4 files changed, 92 insertions, 6 deletions
diff --git a/dev-java/jamvm/ChangeLog b/dev-java/jamvm/ChangeLog index b290fa0354dc..756bf2cd922a 100644 --- a/dev-java/jamvm/ChangeLog +++ b/dev-java/jamvm/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/jamvm # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/ChangeLog,v 1.27 2008/03/03 17:28:54 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/ChangeLog,v 1.28 2008/03/03 19:57:26 betelgeuse Exp $ + +*jamvm-1.5.0-r1 (03 Mar 2008) + + 03 Mar 2008; Petteri Räty <betelgeuse@gentoo.org> files/jamvm-1.5.0.env, + +jamvm-1.5.0-r1.ebuild: + Add vm file changes required to integrate with our eclasses. PDEPEND on + dev-java/ant-eclipse-ecj so that eant works. 03 Mar 2008; Petteri Räty <betelgeuse@gentoo.org> -jamvm-1.4.4-r1.ebuild: Delete old version. diff --git a/dev-java/jamvm/Manifest b/dev-java/jamvm/Manifest index 20f260cfaea1..dcbc6bb499cd 100644 --- a/dev-java/jamvm/Manifest +++ b/dev-java/jamvm/Manifest @@ -2,20 +2,21 @@ Hash: SHA1 AUX classes-location.patch 1184 RMD160 7ab849c181808d61bba64ed1a98a575ac14da4fd SHA1 632e5a2785435e95da534ea1c8a0d75004016083 SHA256 c973ef294f31c2937a55d5f683dc3ee2623877439b777093663e4f6367a791b1 -AUX jamvm-1.5.0.env 333 RMD160 d48ac63bcdde14d1933d2317f95c799f6fb563b4 SHA1 6827af89236556a6dfc9697a3f6343bfeb48ed7c SHA256 9ad52f179f09b55e375562e1c63e1b2fe1e5e081458adb6501dc86f2c91d6d84 +AUX jamvm-1.5.0.env 382 RMD160 e3a4953826ea66d17aed7b07795929949ebd6c6e SHA1 ab86a7bc601672b47afa7bb259edec0942248c10 SHA256 0b4930e4636771ec76ea053c64064b0fe1ab64d477ac365f88fcd70dc95ed7d7 AUX jamvm.env 331 RMD160 33e990fb7c22f310cc9c4ce678a67f3f8062ade1 SHA1 c60faaf90d26c45ceaaf1a84d2b476aed7adb048 SHA256 dca8067931277eb7e919c820d83e3dcfaa46d9c70103f2c023e83eb04b45bd92 DIST jamvm-1.4.2.tar.gz 285593 RMD160 ca9d26f90dd04e5aaefb1c33dda59a4f41456e31 SHA1 cfda95e52261d58e535a0c8ec03878304e9560c7 SHA256 dae915b7f963762385df2f4660eaad497261fa72393ba69339530e5b0b5d8bc3 DIST jamvm-1.4.5.tar.gz 547407 RMD160 63221c64e285349494f9a3166dce7e2a58381a55 SHA1 ad22e8eedf375230eae2917660c09c9063ffafd8 SHA256 f329d1c8f42c06b53a3e82763d33900b100b8e9acd7afe02f7583c51253fd6e5 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.4.5.ebuild 1704 RMD160 dc069285bf6ac9f9b702112e1162da0dc737f4b2 SHA1 9d714a7aae8ff885bafaf8346dd87b772591151e SHA256 2eb8989fd573cdf5cb17d85354176a25b77ef42c58cd3de61572e970d5923d66 +EBUILD jamvm-1.5.0-r1.ebuild 2099 RMD160 a22befbaf259894916defa663feabf555645aca6 SHA1 da7c446cd85a15e2ec246c9dc7750a817798dc37 SHA256 6b72fba069b6a25e1655b619b5d0834c2c5da2565023869f8ec77d8723e8c1b5 EBUILD jamvm-1.5.0.ebuild 2092 RMD160 87e7fee86647838117c27be5abe0117be6244a74 SHA1 424f2df5958757c2154700804153c685167fe866 SHA256 4af564e50170d41f1508da1890b4353404eb723162ead18ac3470dcc6ed79d4f -MISC ChangeLog 4214 RMD160 0d143315bb683e3dc995d09d5f37421057de9ede SHA1 f159e1830ad8cc4545150ccf4a9988708f3cf67a SHA256 500d2defacead54c756341fc236831d795d5cc0974e1fc2cca1af3427b8eb17d +MISC ChangeLog 4469 RMD160 2fab5f839f5ed04f5a4b37ae992714122292f3ab SHA1 4072e50b9f35b63159aa06db52b58acccfccbd42 SHA256 50ac4c92bcf4619ee0378486d7a59f9a292b659717b017a3e25b26db54bde9c7 MISC metadata.xml 159 RMD160 8da0afd0f687b8985b7f0432fec737950271e354 SHA1 1d089c3afbfafd09e371d7806cc0c72a5c76e5a1 SHA256 da2aaa3223c5418688dfbba6f899648c5bcb2e4610126519a1a862913c4f8fa6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFHzDVacxLzpIGCsLQRApYOAJ9Ix4oqCkgRNIXJLwAfByBOQp1C0gCfcego -MVCR4WxBGJ3nQyj71U+0im8= -=Qt27 +iD8DBQFHzFgtcxLzpIGCsLQRAn7HAJsEA1b9nGDomJGA9i1nb7LmVu6xXwCeKCIG +NrZx+fHachFij/RriFvVmhk= +=zEHK -----END PGP SIGNATURE----- diff --git a/dev-java/jamvm/files/jamvm-1.5.0.env b/dev-java/jamvm/files/jamvm-1.5.0.env index 4282230a48d2..a0d7fb769ea3 100644 --- a/dev-java/jamvm/files/jamvm-1.5.0.env +++ b/dev-java/jamvm/files/jamvm-1.5.0.env @@ -9,3 +9,5 @@ PROVIDES_TYPE="JDK JRE" PROVIDES_VERSION="1.5" GENERATION="2" ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH" +GENTOO_COMPILER="ecj-3.3" +LDPATH="/opt/@PN@/lib" diff --git a/dev-java/jamvm/jamvm-1.5.0-r1.ebuild b/dev-java/jamvm/jamvm-1.5.0-r1.ebuild new file mode 100644 index 000000000000..28416e497309 --- /dev/null +++ b/dev-java/jamvm/jamvm-1.5.0-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2008 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-r1.ebuild,v 1.1 2008/03/03 19:57:26 betelgeuse Exp $ + +EAPI=1 + +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 +RDEPEND="dev-java/gnu-classpath:${CLASSPATH_SLOT}" +DEPEND="${DEPEND}" +PDEPEND="dev-java/ant-eclipse-ecj:3.3 dev-java/gjdoc" + +pkg_setup() { + if use libffi && ! built_with_use sys-devel/gcc libffi; then + eerror "sys-devel/gcc not built with libffi support" + eerror "rebuild sys-devel/gcc with USE=\"libffi\" or" + eerror "turn off the libffi use flag on on ${PN}" + die "Rebuild sys-devel/gcc with libffi" + fi + java-vm-2_pkg_setup +} + +src_unpack() { + unpack ${A} + cd "${S}" + 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 +} + +src_compile() { + filter-flags "-fomit-frame-pointer" + + # Keep libjvm.so out of /usr + # http://bugs.gentoo.org/show_bug.cgi?id=181896 + econf \ + $(use_enable debug trace) \ + $(use_enable libffi ffi) \ + --prefix=/opt/${PN} \ + --datadir=/opt/ \ + --bindir=/usr/bin \ + --with-classpath-install-dir=/opt/gnu-classpath-${CLASSPATH_SLOT} \ + || 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 "${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 +} |