summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-01-24 15:55:32 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-01-24 15:55:32 +0000
commit7878618a9501580bd30196cdc94ea67f346b5234 (patch)
tree51eec4fa9af17c382100f83aaabe1f1835db3763 /dev-java/jamvm/jamvm-1.2.4.ebuild
parentremoved deprecated versions of gnu-classpath, marked 0.12 stable on x86. (diff)
downloadgentoo-2-7878618a9501580bd30196cdc94ea67f346b5234.tar.gz
gentoo-2-7878618a9501580bd30196cdc94ea67f346b5234.tar.bz2
gentoo-2-7878618a9501580bd30196cdc94ea67f346b5234.zip
marked 1.2.3 stable on x86, removed old version. added new version, 1.2.4 which fixes #79310.
(Portage version: 2.0.51-r14)
Diffstat (limited to 'dev-java/jamvm/jamvm-1.2.4.ebuild')
-rw-r--r--dev-java/jamvm/jamvm-1.2.4.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-java/jamvm/jamvm-1.2.4.ebuild b/dev-java/jamvm/jamvm-1.2.4.ebuild
new file mode 100644
index 000000000000..48b2b3d80ff0
--- /dev/null
+++ b/dev-java/jamvm/jamvm-1.2.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/jamvm-1.2.4.ebuild,v 1.1 2005/01/24 15:55:32 luckyduck Exp $
+
+inherit eutils
+
+DESCRIPTION="An extremely small and specification-compliant Java virtual machine."
+HOMEPAGE="http://jamvm.sourceforge.net/"
+
+SRC_URI="mirror://sourceforge/jamvm/jamvm-${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="debug"
+DEPEND=">=dev-java/gnu-classpath-0.13"
+RDEPEND=">=dev-java/gnu-classpath-0.13"
+RESTRICT="nomirror"
+
+src_compile() {
+ # compiles JamVM
+ cd ${S}
+
+ # configure adds "/share/classpath" itself
+ myc="--with-classpath-install-dir=/usr"
+ use debug && myc="${myc} --enable-tracelock"
+ econf ${myc} || die "configure failed."
+ emake || die "make failed."
+}
+
+src_install() {
+ make install-strip DESTDIR=${D} || die "installation failed."
+
+ # puts jni.h in a package dependent folder
+ cd ${D}usr/include
+ mkdir ${P}
+ mv jni.h ${P}
+}