diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2017-09-11 23:43:19 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-09-12 20:09:03 +0200 |
commit | 7063537d4c9664875ddcaf9c20ad6d3a3e401a4d (patch) | |
tree | 47be4b32e9e922d7b0c840b79b2e451359d9b1c5 /dev-java/jsch | |
parent | sys-boot/palo: Old. (diff) | |
download | gentoo-7063537d4c9664875ddcaf9c20ad6d3a3e401a4d.tar.gz gentoo-7063537d4c9664875ddcaf9c20ad6d3a3e401a4d.tar.bz2 gentoo-7063537d4c9664875ddcaf9c20ad6d3a3e401a4d.zip |
dev-java/jsch: version bump.
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-java/jsch')
-rw-r--r-- | dev-java/jsch/Manifest | 1 | ||||
-rw-r--r-- | dev-java/jsch/jsch-0.1.54.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-java/jsch/Manifest b/dev-java/jsch/Manifest index 66d3abc33ac7..09654ed0ba39 100644 --- a/dev-java/jsch/Manifest +++ b/dev-java/jsch/Manifest @@ -1 +1,2 @@ DIST jsch-0.1.52.zip 363648 SHA256 ceda29572f9bd670e425e48772b066e62e7a728edc6a6e23ba75f10444832ab5 SHA512 a5a998b6139638eee403e120f5f217112a5c09e81db8e1b1240d53ca311df4540b56aaa5f67f7a5c40cbc8420535d72d456e4fbfc95fe86d46376a00295bec4d WHIRLPOOL b820f35aab95e385bf457fbbd3ea4fc3c30057114c5c7025ac56dc435a4c708c51b450bfbac9b8202e23b90f062cced194def4aa8b479d629f1bef8121c66e5b +DIST jsch-0.1.54.zip 365455 SHA256 ab71e1e5ff665213b7d892ebd0829b3da835538a73409fe11bb006ec5b6b3909 SHA512 2ed29f07495fbc28d6eb7b4fe414e8a9a96b911b2feea5b1513cc48a9439adba12341bceb23a3ea9ab307e32d48bfd4356c7bc877c56e77f6f55d69214db3a9e WHIRLPOOL 36a4713b3daaecb3b7031a7cd5658771230e4e5a24be0c1bd1822c9d842be6794f42b1084c8274a60ebc075065bf3ef8c0ab432ec75038b5303e831481ed777a diff --git a/dev-java/jsch/jsch-0.1.54.ebuild b/dev-java/jsch/jsch-0.1.54.ebuild new file mode 100644 index 000000000000..08cae6103282 --- /dev/null +++ b/dev-java/jsch/jsch-0.1.54.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +JAVA_PKG_IUSE="doc source examples" + +inherit java-pkg-2 java-ant-2 java-osgi + +DESCRIPTION="JSch is a pure Java implementation of SSH2" +HOMEPAGE="http://www.jcraft.com/jsch/" +SRC_URI="mirror://sourceforge/${PN}/${P}.zip" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="zlib" + +CDEPEND=" + zlib? ( dev-java/jzlib:0 )" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.6" + +EANT_BUILD_TARGET="dist" +JAVA_ANT_REWRITE_CLASSPATH="true" + +src_compile() { + if use zlib; then + EANT_EXTRA_ARGS="-Djzlib.available=true" + EANT_GENTOO_CLASSPATH="jzlib" + fi + + java-pkg-2_src_compile +} + +src_install() { + java-osgi_newjar dist/lib/jsch*.jar \ + "com.jcraft.jsch" "JSch" \ + "com.jcraft.jsch, com.jcraft.jsch.jce;x-internal:=true, \ + com.jcraft.jsch.jcraft;x-internal:=true" + + einstalldocs + use doc && java-pkg_dojavadoc javadoc + use source && java-pkg_dosrc src/* + use examples && java-pkg_doexamples examples +} |