diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2005-07-09 16:05:14 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2005-07-09 16:05:14 +0000 |
commit | e0657c6430167bb35bafd965335fcc67f59e6d5d (patch) | |
tree | 368dcbe62accea4677a8107d4f9f5e96212c0b6a /dev-java | |
parent | cleanup (diff) | |
download | gentoo-2-e0657c6430167bb35bafd965335fcc67f59e6d5d.tar.gz gentoo-2-e0657c6430167bb35bafd965335fcc67f59e6d5d.tar.bz2 gentoo-2-e0657c6430167bb35bafd965335fcc67f59e6d5d.zip |
fix deps, and source useflag support, cleanups
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jdom/ChangeLog | 6 | ||||
-rw-r--r-- | dev-java/jdom/Manifest | 14 | ||||
-rw-r--r-- | dev-java/jdom/jdom-1.0.ebuild | 25 | ||||
-rw-r--r-- | dev-java/jdom/jdom-1.0_beta10-r3.ebuild | 26 | ||||
-rw-r--r-- | dev-java/jdom/jdom-1.0_beta6.ebuild | 28 | ||||
-rw-r--r-- | dev-java/jdom/jdom-1.0_beta9-r1.ebuild | 36 | ||||
-rw-r--r-- | dev-java/jsch/ChangeLog | 6 | ||||
-rw-r--r-- | dev-java/jsch/Manifest | 10 | ||||
-rw-r--r-- | dev-java/jsch/files/digest-jsch-0.1.15 | 1 | ||||
-rw-r--r-- | dev-java/jsch/files/digest-jsch-0.1.16 | 1 | ||||
-rw-r--r-- | dev-java/jsch/files/digest-jsch-0.1.17 | 1 | ||||
-rw-r--r-- | dev-java/jsch/jsch-0.1.15.ebuild | 34 | ||||
-rw-r--r-- | dev-java/jsch/jsch-0.1.16.ebuild | 39 | ||||
-rw-r--r-- | dev-java/jsch/jsch-0.1.17.ebuild | 39 | ||||
-rw-r--r-- | dev-java/jsch/jsch-0.1.18.ebuild | 24 |
15 files changed, 92 insertions, 198 deletions
diff --git a/dev-java/jdom/ChangeLog b/dev-java/jdom/ChangeLog index 9bb253474585..0d15f2f131ad 100644 --- a/dev-java/jdom/ChangeLog +++ b/dev-java/jdom/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/jdom # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jdom/ChangeLog,v 1.24 2005/05/29 15:57:00 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jdom/ChangeLog,v 1.25 2005/07/09 16:04:38 axxo Exp $ + + 09 Jul 2005; Thomas Matthijs <axxo@gentoo.org> jdom-1.0_beta6.ebuild, + jdom-1.0_beta9-r1.ebuild, jdom-1.0_beta10-r3.ebuild, jdom-1.0.ebuild: + fix deps, and source useflag support, cleanups 29 May 2005; Markus Rothe <corsair@gentoo.org> jdom-1.0_beta9-r1.ebuild: Stable on ppc64 diff --git a/dev-java/jdom/Manifest b/dev-java/jdom/Manifest index 3fda813c7090..7bb75e98c838 100644 --- a/dev-java/jdom/Manifest +++ b/dev-java/jdom/Manifest @@ -1,10 +1,10 @@ -MD5 b1bd1fab8b9c0de2f056f053c2a7cd72 ChangeLog 3868 -MD5 e724cc3dffa094f7814322f56587a033 jdom-1.0.ebuild 1585 -MD5 f9e167ea3c7f3948d442a42cd33d8d53 jdom-1.0_beta10-r3.ebuild 1593 -MD5 29b4970f94782257d2503fcf84952978 jdom-1.0_beta6.ebuild 1613 -MD5 18d26ecd3b92f104ca4052108eaba234 jdom-1.0_beta9-r1.ebuild 1539 +MD5 077c206b130bf1e665bd71312dad61db jdom-1.0.ebuild 1564 +MD5 179f73572793f4806c0a846ec18a93a4 jdom-1.0_beta10-r3.ebuild 1571 +MD5 2dafb6cf265abd3d5553debbd16db03c jdom-1.0_beta6.ebuild 1563 +MD5 666f5378303a8aaf0538bb13f33453ff jdom-1.0_beta9-r1.ebuild 1578 +MD5 dacb5cda0a46013d1f4ddf402fe9c8d4 ChangeLog 4062 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 -MD5 8841cddf25b660d205766f7468ba608d files/digest-jdom-1.0 61 -MD5 cad484f43c69253a8823f7d668b6c0ab files/digest-jdom-1.0_beta10-r3 61 MD5 bb9b91ebd19835161b889abf889afda2 files/digest-jdom-1.0_beta6 60 +MD5 cad484f43c69253a8823f7d668b6c0ab files/digest-jdom-1.0_beta10-r3 61 +MD5 8841cddf25b660d205766f7468ba608d files/digest-jdom-1.0 61 MD5 5387342ae9576c96d6fab009ed1c306f files/digest-jdom-1.0_beta9-r1 60 diff --git a/dev-java/jdom/jdom-1.0.ebuild b/dev-java/jdom/jdom-1.0.ebuild index dcc5c3a17815..b2cffc505cdd 100644 --- a/dev-java/jdom/jdom-1.0.ebuild +++ b/dev-java/jdom/jdom-1.0.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jdom/jdom-1.0.ebuild,v 1.3 2005/04/06 19:16:45 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jdom/jdom-1.0.ebuild,v 1.4 2005/07/09 16:04:38 axxo Exp $ inherit java-pkg -IUSE="jikes doc" +IUSE="jikes doc source" MY_PN="jdom" MY_PV="1.0" @@ -16,12 +16,14 @@ HOMEPAGE="http://www.jdom.org" LICENSE="JDOM" SLOT="${PV}" KEYWORDS="~x86 ~sparc ~ppc ~amd64" -RDEPEND=">=virtual/jdk-1.3" -DEPEND=">=dev-java/ant-1.4.1 +RDEPEND=">=virtual/jre-1.3 dev-java/saxpath dev-java/xalan - >=dev-java/xerces-2.6.2-r1 - jikes? ( >=dev-java/jikes-1.15 )" + >=dev-java/xerces-2.6.2-r1" +DEPEND=">=virtual/jdk-1.3 + dev-java/ant-core + jikes? ( >=dev-java/jikes-1.15 ) + ${RDEPEND}" S="${WORKDIR}/${MY_P}" @@ -35,8 +37,7 @@ src_unpack() { java-pkg_jar-from xerces-2 if has_version jaxen; then - jaxenlib="`best_version dev-java/jaxen | sed s/"dev-java\/"//|sed -e s/_beta.-r.//`" - java-pkg_jar-from ${jaxenlib} + java-pkg_jar-from jaxen-1.1 fi } @@ -47,18 +48,18 @@ src_compile() { } src_install() { - java-pkg_dojar \ - build/*.jar + java-pkg_dojar build/*.jar - dodoc CHANGES.txt COMMITTERS.txt LICENSE.txt README.txt TODO.txt + dodoc CHANGES.txt COMMITTERS.txt README.txt TODO.txt use doc && java-pkg_dohtml -r build/apidocs/* + use source && java-pkg_dosrc src/java/* } pkg_postinst() { if ! has_version jaxen; then einfo "" einfo "If you want jaxen support for jdom then" - einfo "please emerge dev-java/jaxen first and" + einfo "please emerge =dev-java/jaxen-1.1* first and" einfo "re-emerge jdom. Sorry for the" einfo "inconvenience, this is to break out of the" einfo "circular dependencies." diff --git a/dev-java/jdom/jdom-1.0_beta10-r3.ebuild b/dev-java/jdom/jdom-1.0_beta10-r3.ebuild index 657b0eb9998b..12fd24e503f1 100644 --- a/dev-java/jdom/jdom-1.0_beta10-r3.ebuild +++ b/dev-java/jdom/jdom-1.0_beta10-r3.ebuild @@ -1,11 +1,9 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jdom/jdom-1.0_beta10-r3.ebuild,v 1.4 2005/04/06 19:16:45 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jdom/jdom-1.0_beta10-r3.ebuild,v 1.5 2005/07/09 16:04:38 axxo Exp $ inherit java-pkg -IUSE="jikes doc" - MY_PN="jdom" MY_PV="b10" MY_P="${MY_PN}-${MY_PV}" @@ -16,12 +14,15 @@ HOMEPAGE="http://www.jdom.org" LICENSE="JDOM" SLOT="${PV}" KEYWORDS="x86 ~sparc ~ppc amd64" -RDEPEND=">=virtual/jdk-1.3" -DEPEND=">=dev-java/ant-1.4.1 +IUSE="jikes doc source" +RDEPEND=">=virtual/jre-1.3 dev-java/saxpath dev-java/xalan - >=dev-java/xerces-2.6.2-r1 - jikes? ( >=dev-java/jikes-1.15 )" + >=dev-java/xerces-2.6.2-r1" +DEPEND=">=virtual/jdk-1.3 + dev-java/ant-core + jikes? ( >=dev-java/jikes-1.15 ) + ${RDEPEND}" S="${WORKDIR}/${MY_P}" @@ -35,8 +36,7 @@ src_unpack() { java-pkg_jar-from xerces-2 if has_version jaxen; then - jaxenlib="`best_version dev-java/jaxen | sed s/"dev-java\/"//|sed -e s/_beta.-r.//`" - java-pkg_jar-from ${jaxenlib} + java-pkg_jar-from jaxen-1.1 fi } @@ -47,18 +47,18 @@ src_compile() { } src_install() { - java-pkg_dojar \ - build/*.jar + java-pkg_dojar build/*.jar - dodoc CHANGES.txt COMMITTERS.txt LICENSE.txt README.txt TODO.txt + dodoc CHANGES.txt COMMITTERS.txt README.txt TODO.txt use doc && java-pkg_dohtml -r build/apidocs/* + use source && java-pkg_dosrc src/java/* } pkg_postinst() { if ! has_version jaxen; then einfo "" einfo "If you want jaxen support for jdom then" - einfo "please emerge dev-java/jaxen first and" + einfo "please emerge =dev-java/jaxen-1.1* first and" einfo "re-emerge jdom. Sorry for the" einfo "inconvenience, this is to break out of the" einfo "circular dependencies." diff --git a/dev-java/jdom/jdom-1.0_beta6.ebuild b/dev-java/jdom/jdom-1.0_beta6.ebuild index b575e9b38e20..01b252bc2488 100644 --- a/dev-java/jdom/jdom-1.0_beta6.ebuild +++ b/dev-java/jdom/jdom-1.0_beta6.ebuild @@ -1,29 +1,30 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jdom/jdom-1.0_beta6.ebuild,v 1.3 2005/04/06 19:16:45 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jdom/jdom-1.0_beta6.ebuild,v 1.4 2005/07/09 16:04:38 axxo Exp $ inherit java-pkg -IUSE="jikes doc" +IUSE="jikes doc source" MY_PN="jdom" MY_PV="b6" MY_P="${MY_PN}-${MY_PV}" DESCRIPTION="Java API to manipulate XML data" -SRC_URI="http://www.jdom.org/dist/source/archive/${MY_P}.tar.gz" +SRC_URI="http://www.jdom.org/dist/source/${MY_P}.tar.gz" HOMEPAGE="http://www.jdom.org" LICENSE="JDOM" SLOT="${PV}" KEYWORDS="~x86 ~amd64" -DEPEND=">=dev-java/ant-1.4.1 - ${RDEPEND} - >=virtual/jdk-1.3 - jikes? ( >=dev-java/jikes-1.15 )" + RDEPEND=">=virtual/jre-1.3 - =dev-java/xerces-2.6.2* dev-java/saxpath - dev-java/xalan" + dev-java/xalan + >=dev-java/xerces-2.6.2-r1" +DEPEND=">=virtual/jdk-1.3 + dev-java/ant-core + jikes? ( >=dev-java/jikes-1.15 ) + ${RDEPEND}" S="${WORKDIR}/${MY_P}" @@ -37,8 +38,7 @@ src_unpack() { java-pkg_jar-from xerces-2 if has_version jaxen; then - jaxenlib="`best_version dev-java/jaxen | sed s/"dev-java\/"//|sed -e s/_beta.-r.//`" - java-pkg_jar-from ${jaxenlib} + java-pkg_jar-from jaxen-1.1 fi } @@ -51,19 +51,19 @@ src_compile() { src_install() { java-pkg_dojar build/*.jar - dodoc CHANGES.txt COMMITTERS.txt LICENSE.txt README.txt TODO.txt + dodoc CHANGES.txt COMMITTERS.txt README.txt TODO.txt use doc && java-pkg_dohtml -r build/apidocs/* + use source && java-pkg_dosrc src/java/* } pkg_postinst() { if ! has_version jaxen; then einfo "" einfo "If you want jaxen support for jdom then" - einfo "please emerge dev-java/jaxen first and" + einfo "please emerge =dev-java/jaxen-1.1* first and" einfo "re-emerge jdom. Sorry for the" einfo "inconvenience, this is to break out of the" einfo "circular dependencies." einfo "" fi } - diff --git a/dev-java/jdom/jdom-1.0_beta9-r1.ebuild b/dev-java/jdom/jdom-1.0_beta9-r1.ebuild index 9016e4da70d1..4da11bb05be3 100644 --- a/dev-java/jdom/jdom-1.0_beta9-r1.ebuild +++ b/dev-java/jdom/jdom-1.0_beta9-r1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jdom/jdom-1.0_beta9-r1.ebuild,v 1.6 2005/05/29 15:57:00 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jdom/jdom-1.0_beta9-r1.ebuild,v 1.7 2005/07/09 16:04:38 axxo Exp $ inherit java-pkg -IUSE="jikes doc" +IUSE="jikes doc source" MY_PN="jdom" MY_PV="b9" @@ -16,47 +16,51 @@ HOMEPAGE="http://www.jdom.org" LICENSE="JDOM" SLOT="${PV}" KEYWORDS="amd64 ~ppc ppc64 ~sparc x86" -RDEPEND=">=virtual/jdk-1.3" -DEPEND=">=dev-java/ant-1.4.1 + +RDEPEND=">=virtual/jre-1.3 + dev-java/saxpath dev-java/xalan - =dev-java/xerces-2.6.2* - jikes? ( >=dev-java/jikes-1.15 )" + >=dev-java/xerces-2.6.2-r1" +DEPEND=">=virtual/jdk-1.3 + dev-java/ant-core + jikes? ( >=dev-java/jikes-1.15 ) + ${RDEPEND}" S="${WORKDIR}/${MY_P}" src_unpack() { unpack ${A} - cd ${S}/lib + cd ${S} + rm -f build/*.jar lib/*.jar - rm -f *.jar + cd ${S}/lib + java-pkg_jar-from saxpath java-pkg_jar-from xerces-2 - java-pkg_jar-from xalan if has_version jaxen; then - jaxenlib="`best_version dev-java/jaxen | sed s/"dev-java\/"//|sed -e s/_beta.-r.//`" - java-pkg_jar-from ${jaxenlib} + java-pkg_jar-from jaxen-1.1 fi } src_compile() { - local antflags="" + local antflags="package" use jikes && antflags="${antflags} -Dbuild.compiler=jikes" ant ${antflags} || die "compile problem" } src_install() { - java-pkg_dojar \ - build/*.jar + java-pkg_dojar build/*.jar - dodoc CHANGES.txt COMMITTERS.txt LICENSE.txt README.txt TODO.txt + dodoc CHANGES.txt COMMITTERS.txt README.txt TODO.txt use doc && java-pkg_dohtml -r build/apidocs/* + use source && java-pkg_dosrc src/java/* } pkg_postinst() { if ! has_version jaxen; then einfo "" einfo "If you want jaxen support for jdom then" - einfo "please emerge dev-java/jaxen first and" + einfo "please emerge =dev-java/jaxen-1.1* first and" einfo "re-emerge jdom. Sorry for the" einfo "inconvenience, this is to break out of the" einfo "circular dependencies." diff --git a/dev-java/jsch/ChangeLog b/dev-java/jsch/ChangeLog index af089d3c3933..5f0d920e52b8 100644 --- a/dev-java/jsch/ChangeLog +++ b/dev-java/jsch/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/jsch # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/ChangeLog,v 1.27 2005/05/27 00:03:01 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/ChangeLog,v 1.28 2005/07/09 16:05:14 axxo Exp $ + + 09 Jul 2005; Thomas Matthijs <axxo@gentoo.org> -jsch-0.1.15.ebuild, + -jsch-0.1.16.ebuild, -jsch-0.1.17.ebuild, jsch-0.1.18.ebuild: + fix deps, and source useflag support, cleanups 27 May 2005; Jan Brinkmann <luckyduck@gentoo.org> jsch-0.1.18.ebuild: stable on ppc diff --git a/dev-java/jsch/Manifest b/dev-java/jsch/Manifest index 4f6a2ee4ef49..64158c49dfa8 100644 --- a/dev-java/jsch/Manifest +++ b/dev-java/jsch/Manifest @@ -1,10 +1,4 @@ +MD5 5ae53c5486b6a32a7e84a97b4608f6dc jsch-0.1.18.ebuild 1200 +MD5 292f760c874219e351ebdcf3efe7ae81 ChangeLog 3834 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 -MD5 ae7721b7793c0b48ec5baebfd7186fa5 jsch-0.1.15.ebuild 988 -MD5 0ac0c37ebfef1479b2cd199a3315b21f jsch-0.1.16.ebuild 1123 -MD5 d4b60e173ffed88fd58deebd8ac64b6e jsch-0.1.17.ebuild 1123 -MD5 e506b3b9199a84a009b7a08079d88a3f jsch-0.1.18.ebuild 1143 -MD5 5e8a456ad0d3b5ab96f2623344b2cec9 ChangeLog 3650 MD5 3ea4f3d468b864097aa05187c1c750ba files/digest-jsch-0.1.18 60 -MD5 53d260d9dbe97b01d9c72f8d71748f1b files/digest-jsch-0.1.17 60 -MD5 d5f449a0c2ef9fa25fce49d1258916d1 files/digest-jsch-0.1.15 60 -MD5 d08475096e782d87daa3748aa6ed4ebe files/digest-jsch-0.1.16 60 diff --git a/dev-java/jsch/files/digest-jsch-0.1.15 b/dev-java/jsch/files/digest-jsch-0.1.15 deleted file mode 100644 index b78ea00687fe..000000000000 --- a/dev-java/jsch/files/digest-jsch-0.1.15 +++ /dev/null @@ -1 +0,0 @@ -MD5 569bf084777b2cc94ab09e81f732ea70 jsch-0.1.15.zip 185285 diff --git a/dev-java/jsch/files/digest-jsch-0.1.16 b/dev-java/jsch/files/digest-jsch-0.1.16 deleted file mode 100644 index d38f13f10e98..000000000000 --- a/dev-java/jsch/files/digest-jsch-0.1.16 +++ /dev/null @@ -1 +0,0 @@ -MD5 557ca07abd9d921b05bd56b60b4bfcee jsch-0.1.16.zip 188708 diff --git a/dev-java/jsch/files/digest-jsch-0.1.17 b/dev-java/jsch/files/digest-jsch-0.1.17 deleted file mode 100644 index f2aba85ecd7d..000000000000 --- a/dev-java/jsch/files/digest-jsch-0.1.17 +++ /dev/null @@ -1 +0,0 @@ -MD5 c1afcf8716f7fe9c8cf96c91325c87e8 jsch-0.1.17.zip 190645 diff --git a/dev-java/jsch/jsch-0.1.15.ebuild b/dev-java/jsch/jsch-0.1.15.ebuild deleted file mode 100644 index 8efa2636dd81..000000000000 --- a/dev-java/jsch/jsch-0.1.15.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# 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.8 2005/01/26 21:36:39 corsair 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-core-1.4 - >=dev-java/jzlib-1.0.3 - app-arch/unzip - jikes? ( >=dev-java/jikes-1.17 )" -RDEPEND=">=virtual/jdk-1.4" - -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 && java-pkg_dohtml -r javadoc/* - dodoc LICENSE.txt README ChangeLog -} diff --git a/dev-java/jsch/jsch-0.1.16.ebuild b/dev-java/jsch/jsch-0.1.16.ebuild deleted file mode 100644 index 70b1429e3ba4..000000000000 --- a/dev-java/jsch/jsch-0.1.16.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/jsch-0.1.16.ebuild,v 1.8 2005/03/31 15:10:11 axxo 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-core-1.6 - >=dev-java/jzlib-1.0.3 - app-arch/unzip - jikes? ( >=dev-java/jikes-1.17 ) - ppc? ( dev-java/gnu-crypto )" -RDEPEND=">=virtual/jdk-1.4" - -src_compile() { - local antflags="dist" - use doc && antflags="${antflags} javadoc" - use jikes && antflags="${antflags} -Dbuild.compiler=jikes" - if use ppc; then - ant $(java-config -p gnu-crypto) ${antflags} || die "compilation failed" - else - ant ${antflags} || die "compilation failed" - fi -} - -src_install() { - mv dist/lib/jsch{*,}.jar - java-pkg_dojar dist/lib/jsch.jar || die "installation failed" - use doc && java-pkg_dohtml -r javadoc/* - dodoc LICENSE.txt README ChangeLog -} diff --git a/dev-java/jsch/jsch-0.1.17.ebuild b/dev-java/jsch/jsch-0.1.17.ebuild deleted file mode 100644 index 5d67375940f9..000000000000 --- a/dev-java/jsch/jsch-0.1.17.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/jsch-0.1.17.ebuild,v 1.6 2005/03/31 15:10:11 axxo 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-core-1.6 - >=dev-java/jzlib-1.0.3 - app-arch/unzip - jikes? ( >=dev-java/jikes-1.17 ) - ppc? ( dev-java/gnu-crypto )" -RDEPEND=">=virtual/jdk-1.4" - -src_compile() { - local antflags="dist" - use doc && antflags="${antflags} javadoc" - use jikes && antflags="${antflags} -Dbuild.compiler=jikes" - if use ppc; then - ant $(java-config -p gnu-crypto) ${antflags} || die "compilation failed" - else - ant ${antflags} || die "compilation failed" - fi -} - -src_install() { - mv dist/lib/jsch{*,}.jar - java-pkg_dojar dist/lib/jsch.jar || die "installation failed" - use doc && java-pkg_dohtml -r javadoc/* - dodoc LICENSE.txt README ChangeLog -} diff --git a/dev-java/jsch/jsch-0.1.18.ebuild b/dev-java/jsch/jsch-0.1.18.ebuild index 8824e4064da8..bde78c146b2e 100644 --- a/dev-java/jsch/jsch-0.1.18.ebuild +++ b/dev-java/jsch/jsch-0.1.18.ebuild @@ -1,39 +1,41 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/jsch-0.1.18.ebuild,v 1.10 2005/06/09 00:51:04 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jsch/jsch-0.1.18.ebuild,v 1.11 2005/07/09 16:05:14 axxo 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" +SRC_URI="mirror://sourceforge/${PN}/${P}.zip" LICENSE="jcraft" SLOT="0" KEYWORDS="x86 amd64 ppc sparc ppc64" -IUSE="doc jikes" +IUSE="doc jikes source" +RDEPEND=">=virtual/jdk-1.4 + >=dev-java/jzlib-1.0.3 + !sparc? ( dev-java/gnu-crypto )" DEPEND=">=virtual/jdk-1.4 >=dev-java/ant-core-1.6 - >=dev-java/jzlib-1.0.3 app-arch/unzip + source? ( app-arch/zip ) jikes? ( >=dev-java/jikes-1.17 ) - !sparc? ( dev-java/gnu-crypto )" -RDEPEND=">=virtual/jdk-1.4" + ${RDEPEND}" src_compile() { local antflags="dist" use doc && antflags="${antflags} javadoc" use jikes && antflags="${antflags} -Dbuild.compiler=jikes" if ! use sparc; then - ant -lib $(java-config -p gnu-crypto) ${antflags} || die "compilation failed" + ant -lib $(java-pkg_getjars gnu-crypto,jzlib) ${antflags} || die "compilation failed" else - ant ${antflags} || die "compilation failed" + ant -lib $(java-pkg_getjars jzlib) ${antflags} || die "compilation failed" fi } src_install() { - mv dist/lib/jsch{*,}.jar - java-pkg_dojar dist/lib/jsch.jar || die "installation failed" + java-pkg_newjar dist/lib/jsch*.jar jsch.jar use doc && java-pkg_dohtml -r javadoc/* - dodoc LICENSE.txt README ChangeLog + use source && java-pkg_dosrc src/* + dodoc README ChangeLog } |