summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2005-02-20 00:56:06 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2005-02-20 00:56:06 +0000
commit299ea1c5de8c1716d3e0c37d42173bbea1648498 (patch)
treecccd4700e41a09b77c243a3eafc5b69ce617aa47 /dev-java/cacao
parentmake sure shared libraries are built #82588 (diff)
downloadgentoo-2-299ea1c5de8c1716d3e0c37d42173bbea1648498.tar.gz
gentoo-2-299ea1c5de8c1716d3e0c37d42173bbea1648498.tar.bz2
gentoo-2-299ea1c5de8c1716d3e0c37d42173bbea1648498.zip
Initial import. Ebuild submitted by myself.
(Portage version: 2.0.51.16)
Diffstat (limited to 'dev-java/cacao')
-rw-r--r--dev-java/cacao/ChangeLog10
-rw-r--r--dev-java/cacao/Manifest2
-rw-r--r--dev-java/cacao/cacao-0.91.ebuild38
-rw-r--r--dev-java/cacao/files/digest-cacao-0.911
-rw-r--r--dev-java/cacao/metadata.xml12
5 files changed, 63 insertions, 0 deletions
diff --git a/dev-java/cacao/ChangeLog b/dev-java/cacao/ChangeLog
new file mode 100644
index 000000000000..f98d1d0dbaf0
--- /dev/null
+++ b/dev-java/cacao/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/cacao
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cacao/ChangeLog,v 1.1 2005/02/20 00:56:06 karltk Exp $
+
+*cacao-0.91 (20 Feb 2005)
+
+ 20 Feb 2005; Karl Trygve Kalleberg <karltk@gentoo.org> +metadata.xml,
+ +cacao-0.91.ebuild:
+ Initial import. Ebuild submitted by myself.
+
diff --git a/dev-java/cacao/Manifest b/dev-java/cacao/Manifest
new file mode 100644
index 000000000000..a7ee544f08bf
--- /dev/null
+++ b/dev-java/cacao/Manifest
@@ -0,0 +1,2 @@
+MD5 c561779b943c466a144bc8c4f8140ff5 cacao-0.91.ebuild 653
+MD5 1b8ece1ea129936e89b66052a7f28b0c files/digest-cacao-0.91 64
diff --git a/dev-java/cacao/cacao-0.91.ebuild b/dev-java/cacao/cacao-0.91.ebuild
new file mode 100644
index 000000000000..be7ded02a9f4
--- /dev/null
+++ b/dev-java/cacao/cacao-0.91.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2005-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cacao/cacao-0.91.ebuild,v 1.1 2005/02/20 00:56:06 karltk Exp $
+
+inherit eutils java-pkg
+
+DESCRIPTION="Cacao Java Virtual Machine"
+HOMEPAGE="http://www.cacaojvm.org/"
+SRC_URI="http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="gtk"
+DEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ for x in $(find . -name Makefile.in) ; do
+ sed -r \
+ -e "s:/jre/lib:/lib/cacao:" \
+ -e "s:/jre/bin:/lib/cacao/bin:" \
+ -i $x || die "Failed to update paths"
+ done
+ sed -r \
+ -e "s:(#define.*CACAO_LIBRARY_PATH).*:\1 \"/lib/cacao/\"ARCH_DIR\"/\":" \
+ -e "s|(#define.*CACAO_RT_JAR_PATH).*|\1 \"/lib/cacao/rt.jar:\"|" \
+ -i src/vm/global.h
+}
+
+src_compile() {
+ econf `use_enable gtk` || die "Failed to configure"
+ emake || die "Failed to compile"
+}
+
+src_install() {
+ einstall || die "Failed to install"
+}
diff --git a/dev-java/cacao/files/digest-cacao-0.91 b/dev-java/cacao/files/digest-cacao-0.91
new file mode 100644
index 000000000000..d3ff0c519771
--- /dev/null
+++ b/dev-java/cacao/files/digest-cacao-0.91
@@ -0,0 +1 @@
+MD5 c956eea8429d4250accfd1070e0d719a cacao-0.91.tar.bz2 7856362
diff --git a/dev-java/cacao/metadata.xml b/dev-java/cacao/metadata.xml
new file mode 100644
index 000000000000..d3217b40c8af
--- /dev/null
+++ b/dev-java/cacao/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+<herd>java</herd>
+
+<longdescription>
+CACAO is started out as a research JIT compiler for Java to explore new
+implementation techniques. It is now a full-blown Java Virtual Machine
+based on GNU Classpath.
+</longdescription>
+</pkgmetadata>