/[gentoo-x86]/dev-java/jcifs/jcifs-1.3.15.ebuild
Gentoo

Contents of /dev-java/jcifs/jcifs-1.3.15.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Jul 2 12:32:07 2012 UTC (7 years, 7 months ago) by sera
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Remove old ones using dev-java/servletapi. #398689

(Portage version: 2.1.11.3/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/jcifs/jcifs-1.3.15.ebuild,v 1.5 2011/07/15 15:57:26 xarthisius Exp $
4
5 EAPI="2"
6 JAVA_PKG_IUSE="doc examples source"
7
8 inherit eutils java-pkg-2 java-ant-2
9
10 DESCRIPTION="Library that implements the CIFS/SMB networking protocol in Java"
11 SRC_URI="http://jcifs.samba.org/src/${P}.tgz"
12 HOMEPAGE="http://jcifs.samba.org/"
13 LICENSE="LGPL-2.1"
14 SLOT="1.1"
15 KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
16 RDEPEND=">=virtual/jre-1.4
17 dev-java/servletapi:2.4"
18 DEPEND=">=virtual/jdk-1.4
19 ${RDEPEND}"
20 IUSE=""
21
22 S=${WORKDIR}/${P/-/_}
23
24 java_prepare() {
25 rm -v *.jar || die
26 }
27
28 JAVA_ANT_REWRITE_CLASSPATH="true"
29 EANT_EXTRA_ARGS="-DhasServlet=true"
30 EANT_GENTOO_CLASSPATH="servletapi-2.4"
31
32 src_install() {
33 java-pkg_newjar ${P}.jar
34
35 dodoc README.txt || die
36 # other stuff besides javadocs
37 use doc && java-pkg_dohtml -r docs/*
38 use source && java-pkg_dosrc src/*
39 use examples && java-pkg_doexamples examples
40 }

  ViewVC Help
Powered by ViewVC 1.1.20