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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon May 21 09:35:16 2012 UTC (7 years, 8 months ago) by phajdan.jr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
x86 stable wrt bug #399997

(Portage version: 2.1.10.49/cvs/Linux i686)

1 # Copyright 1999-2012 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-r1.ebuild,v 1.3 2012/05/20 12:34:58 halcy0n 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 java-virtuals/servlet-api: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="servlet-api-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