diff options
Diffstat (limited to 'dev-java/jsch/jsch-0.1.15.ebuild')
-rw-r--r-- | dev-java/jsch/jsch-0.1.15.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-java/jsch/jsch-0.1.15.ebuild b/dev-java/jsch/jsch-0.1.15.ebuild new file mode 100644 index 000000000000..0ded3725ab71 --- /dev/null +++ b/dev-java/jsch/jsch-0.1.15.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/jsch-0.1.15.ebuild,v 1.1 2004/05/21 21:15:24 zx Exp $ + +inherit java-pkg + +DESCRIPTION="JSch is a pure Java implementation of SSH2." +HOMEPAGE="http://www.jcraft.com/jsch/" +SRC_URI="mirror://sourceforge/${PN}/${PN}-${PV}.zip" +LICENSE="jcraft" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc ~sparc" +IUSE="doc jikes" + +DEPEND=">=virtual/jdk-1.4 + >=dev-java/ant-1.4 + >=dev-java/jzlib-1.0.3 + jikes? ( >=dev-java/jikes-1.17 )" +RDEPEND=">=virtual/jdk-1.4" +RESTRICT="nomirror" + +src_compile() { + local antflags="dist" + use doc && antflags="${antflags} javadoc" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "compilation failed" +} + +src_install() { + mv dist/lib/jsch{*,}.jar + java-pkg_dojar dist/lib/jsch.jar || die "installation failed" + use doc && dohtml -r javadoc/* + dodoc LICENSE.txt README ChangeLog +} |