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

Contents of /dev-java/commons-jelly/commons-jelly-1.0-r5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Aug 16 10:03:00 2014 UTC (3 months, 1 week ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
amd64 stable, bug #518928

(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 0xF3CFD2BD)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jelly/commons-jelly-1.0-r5.ebuild,v 1.2 2014/08/14 17:02:49 phajdan.jr Exp $
4
5 EAPI=4
6
7 JAVA_PKG_IUSE="doc source test"
8
9 inherit java-pkg-2 java-ant-2 eutils
10
11 MY_P="${P}-src"
12 DESCRIPTION="A Java and XML based scripting and processing engine"
13 HOMEPAGE="http://commons.apache.org/jelly/"
14 SRC_URI="mirror://apache/jakarta/commons/jelly/source/${MY_P}.tar.gz"
15
16 LICENSE="Apache-2.0"
17 SLOT="1"
18 KEYWORDS="amd64 x86"
19 IUSE=""
20
21 COMMON_DEP="
22 dev-java/commons-beanutils:1.7
23 dev-java/commons-cli:1
24 dev-java/commons-collections:0
25 dev-java/commons-discovery:0
26 dev-java/commons-jexl:1.0
27 dev-java/commons-lang:0
28 dev-java/commons-logging:0
29 dev-java/dom4j:1
30 dev-java/jakarta-jstl:0
31 dev-java/jaxen:1.1
32 dev-java/junit:0
33 java-virtuals/servlet-api:2.5"
34 RDEPEND="${COMMON_DEP}
35 >=virtual/jre-1.4"
36 DEPEND="${COMMON_DEP}
37 >=virtual/jdk-1.4
38 test? ( dev-java/ant-junit:0 )"
39
40 S=${WORKDIR}/${MY_P}
41
42 java_prepare() {
43 # disables dependency fetching, and remove tests as a dependency of jar
44 epatch "${FILESDIR}/${P}-gentoo.patch"
45 }
46
47 JAVA_ANT_REWRITE_CLASSPATH="yes"
48
49 EANT_EXTRA_ARGS="-Dlibdir=."
50 EANT_GENTOO_CLASSPATH="
51 commons-beanutils-1.7,commons-cli-1,commons-collections,commons-discovery
52 commons-jexl-1.0,commons-lang,commons-logging,dom4j-1,jakarta-jstl
53 jaxen-1.1,junit,servlet-api-2.5"
54
55 src_test() {
56 java-pkg-2_src_test
57 }
58
59 src_install() {
60 java-pkg_newjar target/${P}.jar ${PN}.jar
61
62 dodoc NOTICE.txt README.txt RELEASE-NOTES.txt || die
63
64 use doc && java-pkg_dojavadoc dist/docs/api
65 use source && java-pkg_dosrc src/java/*
66 }

  ViewVC Help
Powered by ViewVC 1.1.20