You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-scheme/jscheme/jscheme-7.2.ebuild

36 lines
821 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/jscheme/jscheme-7.2.ebuild,v 1.2 2012/11/09 18:59:59 ago Exp $
EAPI="3"
inherit java-utils-2 java-pkg-2
DESCRIPTION="JScheme is a dialect of Scheme with a very simple interface to Java, called the Javadot notation"
HOMEPAGE="http://jscheme.sourceforge.net/jscheme/main.html"
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
DEPEND=">=virtual/jdk-1.6"
RDEPEND=">=virtual/jre-1.6
${DEPEND}"
src_compile() {
sh bin/make || die "make failed"
}
src_install() {
java-pkg_dojar lib/*.jar
java-pkg_dolauncher ${PN} \
--main jscheme.REPL
if use doc; then
dohtml -r doc || die "dohtml failed"
fi
}