blob: e8d462ec1c972f04c03279361a104a5958889266 (
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
32
33
34
35
36
|
# 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.12.ebuild,v 1.1 2004/01/04 03:11:17 strider Exp $
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"
IUSE="doc jikes"
RESTRICT="nomirror"
DEPEND=">=virtual/jdk-1.4
>=dev-java/ant-1.4
jikes? ( >=dev-java/jikes-1.17 )"
RDEPEND=">=virtual/jdk-1.4"
src_compile() {
epatch ${FILESDIR}/build.xml-dstamp.patch.gz
local myc
if [ -n "`use jikes`" ] ; then
myc="${myc} -Dbuild.compiler=jikes"
fi
ANT_OPTS=${myc} ant || die "Failed Compiling"
}
src_install() {
dojar dist/lib/jsch.jar || die "Failed Installing"
dodoc LICENSE.txt README ChangeLog
cp -r examples ${D}/usr/share/doc/${PN}-${PV}
}
|