* [gentoo-commits] gentoo-x86 commit in dev-java/jamvm: ChangeLog jamvm-1.5.4-r2.ebuild
@ 2012-05-14 19:17 Ralph Sennhauser (sera)
0 siblings, 0 replies; only message in thread
From: Ralph Sennhauser (sera) @ 2012-05-14 19:17 UTC (permalink / raw
To: gentoo-commits
sera 12/05/14 19:17:32
Modified: ChangeLog
Added: jamvm-1.5.4-r2.ebuild
Log:
Only provide JRE. #371461
(Portage version: 2.1.10.58/cvs/Linux x86_64)
Revision Changes Path
1.48 dev-java/jamvm/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jamvm/ChangeLog?rev=1.48&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jamvm/ChangeLog?rev=1.48&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jamvm/ChangeLog?r1=1.47&r2=1.48
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/jamvm/ChangeLog,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- ChangeLog 28 Sep 2011 10:53:39 -0000 1.47
+++ ChangeLog 14 May 2012 19:17:32 -0000 1.48
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/jamvm
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/ChangeLog,v 1.47 2011/09/28 10:53:39 ssuominen Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/ChangeLog,v 1.48 2012/05/14 19:17:32 sera Exp $
+
+*jamvm-1.5.4-r2 (14 May 2012)
+
+ 14 May 2012; Ralph Sennhauser <sera@gentoo.org> +jamvm-1.5.4-r2.ebuild,
+ +files/jamvm-1.5.4-r2.env:
+ Only provide JRE. #371461
28 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> metadata.xml:
USE="libffi" is now global USE flag.
1.1 dev-java/jamvm/jamvm-1.5.4-r2.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jamvm/jamvm-1.5.4-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jamvm/jamvm-1.5.4-r2.ebuild?rev=1.1&content-type=text/plain
Index: jamvm-1.5.4-r2.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/jamvm-1.5.4-r2.ebuild,v 1.1 2012/05/14 19:17:32 sera Exp $
EAPI=4
inherit eutils flag-o-matic multilib java-vm-2 autotools
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.98
DEPEND="dev-java/gnu-classpath:${CLASSPATH_SLOT}
libffi? ( virtual/libffi )
amd64? ( virtual/libffi )"
RDEPEND="${DEPEND}"
src_prepare() {
# without this patch, classes.zip is not found at runtime
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="/usr/gnu-classpath-${CLASSPATH_SLOT}"
src_configure() {
# Keep libjvm.so out of /usr
# http://bugs.gentoo.org/show_bug.cgi?id=181896
INSTALL_DIR="/usr/$(get_libdir)/${PN}"
filter-flags "-fomit-frame-pointer"
if use amd64 || use libffi; then
append-cflags "$(pkg-config --cflags-only-I libffi)"
fi
local fficonf="--enable-ffi"
use !amd64 && fficonf="$(use_enable libffi ffi)"
econf ${fficonf} \
--disable-dependency-tracking \
$(use_enable debug trace) \
--prefix=${INSTALL_DIR} \
--datadir=/usr/$(get_libdir) \
--bindir=/usr/bin \
--libdir=${INSTALL_DIR}/lib \
--with-classpath-install-dir=${CLASSPATH_DIR}
}
create_launcher() {
local script="${D}/${INSTALL_DIR}/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
dodoc ACKNOWLEDGEMENTS AUTHORS ChangeLog NEWS README
set_java_env "${FILESDIR}/${PN}-1.5.4-r2.env"
dosym /usr/bin/jamvm ${INSTALL_DIR}/bin/java
dosym ${CLASSPATH_DIR}/share/classpath/glibj.zip ${INSTALL_DIR}/jre/lib/rt.jar
dosym ${CLASSPATH_DIR}/share/classpath/tools.zip ${INSTALL_DIR}/lib/tools.jar
for file in ${CLASSPATH_DIR}/bin/*; do
base=$(basename ${file})
create_launcher ${base#g}
done
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-14 19:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-14 19:17 [gentoo-commits] gentoo-x86 commit in dev-java/jamvm: ChangeLog jamvm-1.5.4-r2.ebuild Ralph Sennhauser (sera)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox