diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/jcifs/jcifs-1.3.17-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/jcifs/jcifs-1.3.17-r1.ebuild')
-rw-r--r-- | dev-java/jcifs/jcifs-1.3.17-r1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-java/jcifs/jcifs-1.3.17-r1.ebuild b/dev-java/jcifs/jcifs-1.3.17-r1.ebuild new file mode 100644 index 000000000000..b4f799d13ee7 --- /dev/null +++ b/dev-java/jcifs/jcifs-1.3.17-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" +JAVA_PKG_IUSE="doc examples source" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Library that implements the CIFS/SMB networking protocol in Java" +SRC_URI="http://jcifs.samba.org/src/${P}.tgz" +HOMEPAGE="http://jcifs.samba.org/" +LICENSE="LGPL-2.1" +SLOT="1.1" +KEYWORDS="amd64 ppc64 x86 ~x86-fbsd" +RDEPEND=">=virtual/jre-1.4 + java-virtuals/servlet-api:2.4" +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND}" +IUSE="" + +S=${WORKDIR}/${P/-/_} + +java_prepare() { + rm -v *.jar || die + epatch "${FILESDIR}/${PV}-build.xml.patch" +} + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_EXTRA_ARGS="-DhasServlet=true" +EANT_GENTOO_CLASSPATH="servlet-api-2.4" + +src_install() { + java-pkg_newjar ${P}.jar + + dodoc README.txt || die + # other stuff besides javadocs + use doc && java-pkg_dohtml -r docs/* + use source && java-pkg_dosrc src/* + use examples && java-pkg_doexamples examples +} |