diff options
author | William L. Thomson Jr <wlt@o-sinc.com> | 2015-09-17 19:54:39 -0400 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2015-09-29 22:19:33 +0100 |
commit | 305851800a339f8ee9c8f5eb211c5b4e3563a912 (patch) | |
tree | d600e8702447513f69036e7a828af28dddd8adac /dev-java/jakarta-slide-webdavclient | |
parent | dev-java/commons-jxpath: Updated dev-java/jdom slot from 1.0 -> 0 for v1 (diff) | |
download | gentoo-305851800a339f8ee9c8f5eb211c5b4e3563a912.tar.gz gentoo-305851800a339f8ee9c8f5eb211c5b4e3563a912.tar.bz2 gentoo-305851800a339f8ee9c8f5eb211c5b4e3563a912.zip |
dev-java/jakarta-slide-webdavclient: Updated dev-java/jdom slot from 1.0 -> 0 for v1
Diffstat (limited to 'dev-java/jakarta-slide-webdavclient')
-rw-r--r-- | dev-java/jakarta-slide-webdavclient/jakarta-slide-webdavclient-2.1-r4.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-java/jakarta-slide-webdavclient/jakarta-slide-webdavclient-2.1-r4.ebuild b/dev-java/jakarta-slide-webdavclient/jakarta-slide-webdavclient-2.1-r4.ebuild new file mode 100644 index 000000000000..7808a130afc5 --- /dev/null +++ b/dev-java/jakarta-slide-webdavclient/jakarta-slide-webdavclient-2.1-r4.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" +JAVA_PKG_IUSE="doc source" + +inherit eutils java-pkg-2 java-ant-2 + +MY_P="${PN}-src-${PV}" +DESCRIPTION="A content repository" +HOMEPAGE="http://jakarta.apache.org/slide/index.html" +SRC_URI="http://archive.apache.org/dist/jakarta/slide/source/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.4 + dev-java/commons-httpclient:3 + dev-java/jdom:0 + dev-java/xml-im-exporter:0" +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +JAVA_ANT_REWRITE_CLASSPATH="true" + +src_prepare() { + epatch "${FILESDIR}/${P}-gentoo.patch" + rm -v lib/*.jar || die + java-pkg-2_src_prepare +} + +EANT_GENTOO_CLASSPATH="jdom,commons-httpclient-3,xml-im-exporter" +EANT_BUILD_TARGET="dist-clientlib" +EANT_DOC_TARGET="javadoc-clientlib" + +src_install() { + java-pkg_newjar dist/lib/${P/client/lib}.jar ${PN/client/lib}.jar + + dodoc README || die + use doc && java-pkg_dojavadoc build/clientlib/doc/clientjavadoc + use source && java-pkg_dosrc \ + clientlib/src/java/* \ + ant/src/java/* \ + commandline/src/java/* \ + connector/src/java/* +} |