# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-scheme/kawa/kawa-1.6.97.ebuild,v 1.3 2007/03/13 02:07:48 vapier Exp $ DESCRIPTION="Scheme compiler for JVM" HOMEPAGE="http://www.gnu.org/software/kawa/" SRC_URI="mirror://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 ./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 mv ${D}/usr/share/java ${D}/usr/share/kawa exeinto usr/bin newexe ${FILESDIR}/kawa-1.6.97.sh kawa dodoc COPYING TODO README NEWS doinfo doc/kawa.info* dohtml doc/*less }