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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Fri Jun 15 15:49:17 2007 UTC (12 years, 8 months ago) by caster
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Gen-1 punt.
(Portage version: 2.1.2.9)

1 # Copyright 1999-2007 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.1.5.ebuild,v 1.7 2007/02/18 10:22:20 nixnut Exp $
4
5 inherit eutils java-pkg
6
7 DESCRIPTION="Library that implements the CIFS/SMB networking protocol in Java"
8 SRC_URI="http://jcifs.samba.org/src/${P}.tgz"
9 HOMEPAGE="http://jcifs.samba.org/"
10 LICENSE="LGPL-2.1"
11 SLOT="1.1"
12 KEYWORDS="amd64 ppc ~ppc64 x86"
13 IUSE="doc jikes"
14 RDEPEND=">=virtual/jre-1.4
15 =dev-java/servletapi-2.3*"
16 DEPEND=">=virtual/jdk-1.4
17 ${RDEPEND}
18 jikes? ( >=dev-java/jikes-1.21 )
19 >=dev-java/ant-core-1.6"
20
21 S=${WORKDIR}/${P/-/_}
22
23 src_unpack() {
24 unpack ${A}
25 cd ${S}
26
27 epatch ${FILESDIR}/build-xml.patch
28 }
29
30 src_compile() {
31 local antflags="jar -lib $(java-pkg_getjars servletapi-2.3)"
32 use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
33 ant ${antflags} || die "failed to build"
34 }
35
36 src_install() {
37 java-pkg_dojar ${PN}.jar
38
39 use doc && java-pkg_dohtml -r docs/api docs/*.html
40 }

  ViewVC Help
Powered by ViewVC 1.1.20