summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/sablevm/sablevm-1.1.10.ebuild')
-rw-r--r--dev-java/sablevm/sablevm-1.1.10.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-java/sablevm/sablevm-1.1.10.ebuild b/dev-java/sablevm/sablevm-1.1.10.ebuild
new file mode 100644
index 000000000000..ab8f030c963d
--- /dev/null
+++ b/dev-java/sablevm/sablevm-1.1.10.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sablevm/sablevm-1.1.10.ebuild,v 1.1 2005/02/28 22:41:50 luckyduck Exp $
+
+DESCRIPTION="A robust, clean, extremely portable, efficient, and specification-compliant Java virtual machine."
+HOMEPAGE="http://sablevm.org/"
+
+# karltk: According to Grzegorz Prokopski (gadek), the two tarfiles will merge
+# into one in the future. For now, they consistently make concurrent releases,
+# so I merged them into one ebuild.
+
+SRC_URI="http://sablevm.org/download/release/${PV}/sablevm-${PV}.tar.gz
+ http://sablevm.org/download/release/${PV}/sablevm-classpath-${PV}.tar.gz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="x86 ~ppc amd64"
+IUSE="gtk debug"
+DEPEND=">=dev-libs/libffi-1.20
+ >=dev-libs/popt-1.7
+ >=dev-java/jikes-1.19
+ gtk? (
+ >=x11-libs/gtk+-2.2
+ >=media-libs/libart_lgpl-2.1
+ >=media-libs/gdk-pixbuf-0.22
+ )"
+#RDEPEND=""
+
+S=${WORKDIR}
+
+src_compile() {
+ export LDFLAGS="$LDFLAGS -L/usr/lib/libffi" CPPFLAGS="$CPPFLAGS -I/usr/include/libffi"
+
+ # Compile the Classpath
+ cd ${S}/sablevm-classpath-${PV}
+ local myc="--with-jikes"
+ econf ${myc} $(use_enable gtk gtk-peer) || die
+ emake || die "emake failed"
+
+ # Compile the VM
+ cd ${S}/sablevm-${PV}
+ econf $(use_enable debug debugging-features) || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ # Install the Classpath
+ cd ${S}/sablevm-classpath-${PV}
+ einstall || die
+
+ # Install the VM
+ cd ${S}/sablevm-${PV}
+ einstall || die
+}