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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jan 27 08:35:28 2012 UTC (8 years, 1 month ago) by sera
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Use java-virtuals/servlet-api instead of dev-java/servletapi. #398689

(Portage version: 2.1.10.44/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.17.ebuild,v 1.1 2011/10/19 00:41:50 fordfrog 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 epatch "${FILESDIR}/${PV}-build.xml.patch"
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