summaryrefslogtreecommitdiff
blob: bf0b3bb492fe8fa6dca52e40f34ecf307ad97a4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/kissme-classpath/kissme-classpath-0.19.ebuild,v 1.12 2004/06/03 03:16:03 agriffis Exp $

DESCRIPTION="GNU Classpath specifically tailored to kissme"
SRC_URI="mirror://sourceforge/kissme/${P}.tar.gz"
HOMEPAGE="http://www.gnu.org/software/classpath/classpath.html"
DEPEND=">=virtual/jdk-1.3
		jikes? ( >=dev-java/jikes-1.13 )
		app-shells/zsh"
RDEPEND=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE="jikes"

src_compile() {
	if ! use jikes ; then
		cp Makefile Makefile.orig
		sed 's!jikes +U!javac!' < Makefile.orig > Makefile
	fi
	make build || die
}

src_install () {
	dodir usr/share/kissme/classpath
	dodoc src/README
	DESTDIR=${D} sh install.sh || die
	echo "/usr/share/kissme/classpath" > ${D}/usr/share/kissme/classpath.env
}