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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Tue Feb 16 14:44:55 2010 UTC (10 years ago) by caster
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Remove old.
(Portage version: 2.2_rc62/cvs/Linux x86_64)

1 # Copyright 1999-2009 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.2.13.ebuild,v 1.8 2009/01/03 17:24:26 serkan Exp $
4
5 JAVA_PKG_IUSE="doc examples source"
6
7 inherit eutils java-pkg-2 java-ant-2
8
9 DESCRIPTION="Library that implements the CIFS/SMB networking protocol in Java"
10 SRC_URI="http://jcifs.samba.org/src/${P}.tgz"
11 HOMEPAGE="http://jcifs.samba.org/"
12 LICENSE="LGPL-2.1"
13 SLOT="1.1"
14 KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
15 RDEPEND=">=virtual/jre-1.4
16 =dev-java/servletapi-2.4*"
17 DEPEND=">=virtual/jdk-1.4
18 ${RDEPEND}"
19 IUSE=""
20
21 S=${WORKDIR}/${P/-/_}
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26 java-ant_rewrite-classpath
27 rm -v *.jar || die
28 }
29
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