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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Jul 2 12:32:09 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-2010 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.13.ebuild,v 1.5 2010/05/23 17:47:41 pacho 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 rm -v examples/*.class || die
27 }
28
29 JAVA_ANT_REWRITE_CLASSPATH="true"
30 EANT_EXTRA_ARGS="-DhasServlet=true"
31 EANT_GENTOO_CLASSPATH="servletapi-2.4"
32
33 src_install() {
34 java-pkg_newjar ${P}.jar
35
36 dodoc README.txt || die
37 # other stuff besides javadocs
38 use doc && java-pkg_dohtml -r docs/*
39 use source && java-pkg_dosrc src/*
40 use examples && java-pkg_doexamples examples
41 }

  ViewVC Help
Powered by ViewVC 1.1.20