summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2006-05-11 22:01:22 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2006-05-11 22:01:22 +0000
commit21fa3b4cfb583b26626bf583b83e26325957c858 (patch)
tree3178894bb067e2a16df326bd7e7b49c96c179fd0 /dev-scheme/kawa/kawa-1.7.ebuild
parentAdded a new revision to work with the split openal/freealut. Closing bug #11... (diff)
downloadhistorical-21fa3b4cfb583b26626bf583b83e26325957c858.tar.gz
historical-21fa3b4cfb583b26626bf583b83e26325957c858.tar.bz2
historical-21fa3b4cfb583b26626bf583b83e26325957c858.zip
Moved from dev-lisp/kawa to dev-scheme/kawa.
Diffstat (limited to 'dev-scheme/kawa/kawa-1.7.ebuild')
-rw-r--r--dev-scheme/kawa/kawa-1.7.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-scheme/kawa/kawa-1.7.ebuild b/dev-scheme/kawa/kawa-1.7.ebuild
new file mode 100644
index 000000000000..0ac3b4a4be23
--- /dev/null
+++ b/dev-scheme/kawa/kawa-1.7.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/kawa/kawa-1.7.ebuild,v 1.1 2006/05/11 22:01:21 mkennedy Exp $
+
+inherit java-pkg
+
+DESCRIPTION="Kawa, the Java-based Scheme system"
+HOMEPAGE="http://www.gnu.org/software/kawa/"
+SRC_URI="ftp://ftp.gnu.org/pub/gnu/kawa/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="virtual/jdk"
+RDEPEND="virtual/jre"
+
+src_compile() {
+ export PATH=${PATH}:${JDK_HOME}/bin
+ which javac
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man || die "./configure failed"
+ make || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+ rm -rf ${D}/usr/share/kawa/ ${D}/usr/share/java/
+ java-pkg_dojar kawa-${PV}.jar
+ dodoc COPYING TODO README NEWS
+ doinfo doc/kawa.info*
+ dodir /usr/bin
+ cat >${D}/usr/bin/kawa <<'EOF'
+#!/bin/sh
+exec `java-config --java` -classpath `java-config -p kawa` kawa.repl "$@"
+EOF
+ dodir /etc/env.d/
+ cat >>${D}/etc/env.d/50kawa <<EOF
+KAWALIB=/usr/share/kawa/lib/kawa-${PV}.jar
+EOF
+}