/[gentoo-x86]/dev-java/commons-vfs/commons-vfs-1.0.ebuild
Gentoo

Contents of /dev-java/commons-vfs/commons-vfs-1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Mon Dec 19 11:54:47 2011 UTC (8 years, 2 months ago) by sera
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +4 -3 lines
Fix homepage wrt #202445. Add missing IUSE to please repoman.

(Portage version: 2.1.10.41/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/commons-vfs/commons-vfs-1.0.ebuild,v 1.12 2010/01/23 14:19:53 aballier Exp $
4
5 JAVA_PKG_IUSE="doc source"
6
7 inherit java-pkg-2 java-ant-2
8
9 DESCRIPTION="a single API for accessing various different file systems"
10 HOMEPAGE="http://commons.apache.org/vfs/"
11 SRC_URI="mirror://apache/jakarta/${PN/-//}/source/${P}-src.tar.gz"
12
13 LICENSE="Apache-2.0"
14 SLOT="0"
15 KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
16 IUSE=""
17
18 COMMON_DEP="
19 dev-java/commons-logging
20 dev-java/commons-net
21 =dev-java/commons-httpclient-3*
22 dev-java/jsch
23 dev-java/commons-collections
24 dev-java/ant-core"
25
26 RDEPEND=">=virtual/jre-1.4
27 ${COMMON_DEP}"
28 DEPEND=">=virtual/jdk-1.4
29 ${COMMON_DEP}"
30
31 S=${WORKDIR}/${P}-src
32
33 src_unpack() {
34 unpack ${A}
35 cd "${S}"
36 epatch "${FILESDIR}/1.0-noget.patch"
37 java-ant_rewrite-classpath
38 java-ant_ignore-system-classes
39 }
40
41 EANT_GENTOO_CLASSPATH="
42 commons-logging
43 commons-net
44 commons-httpclient-3
45 jsch
46 commons-collections
47 ant-core
48 "
49 EANT_EXTRA_ARGS="-Dlibdir=${T}"
50
51 # The build.xml is generated from maven and can't run the tests properly
52 # Use maven test to execute these manually but that means downloading deps from
53 # the internet. Also the tests need to login to some ftp servers and samba
54 # shares so I doubt they work for everyone.
55 #src_test() {
56 # ANT_TASKS="ant-junit" eant test
57 #}
58
59 src_install() {
60 java-pkg_newjar target/*.jar
61 dodoc *.txt || die
62 use doc && java-pkg_dojavadoc ./dist/docs/api
63 use source && java-pkg_dosrc ./core/src/main/java
64 }

  ViewVC Help
Powered by ViewVC 1.1.20