/[gentoo-x86]/dev-java/jaxen/jaxen-1.1.4.ebuild
Gentoo

Contents of /dev-java/jaxen/jaxen-1.1.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Jan 1 19:14:30 2013 UTC (15 months, 2 weeks ago) by ulm
Branch: MAIN
Changes since 1.1: +3 -3 lines
Update LICENSE, jaxen is replaced by the JDOM license template.

(Portage version: 2.1.11.38/cvs/Linux x86_64, signed Manifest commit with key E7BE08CA7DC6EA25)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/JDOM/jaxen-1.1.4.ebuild,v 1.1 2012/10/14 14:28:48 sera Exp $
4
5 EAPI=5
6
7 JAVA_PKG_IUSE="doc examples source test"
8
9 inherit java-pkg-2 java-ant-2
10
11 DESCRIPTION="A Java XPath Engine"
12 HOMEPAGE="http://jaxen.codehaus.org/"
13 SRC_URI="http://dist.codehaus.org/${PN}/distributions/${P}-src.tar.gz"
14
15 LICENSE="JDOM"
16 SLOT="1.1"
17 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
18 IUSE=""
19
20 COMMON_DEP="
21 dev-java/dom4j:1
22 dev-java/jdom:1.0
23 dev-java/xom:0"
24 RDEPEND=">=virtual/jre-1.4
25 ${COMMON_DEP}"
26 DEPEND=">=virtual/jdk-1.4
27 test? ( dev-java/ant-junit:0 )
28 ${COMMON_DEP}"
29
30 JAVA_ANT_REWRITE_CLASSPATH="yes"
31 EANT_GENTOO_CLASSPATH="dom4j-1,jdom-1.0,xom"
32 EANT_TEST_EXTRA_ARGS="-DJunit.present=true"
33
34 java_prepare() {
35 cp -v "${FILESDIR}"/${P}_maven1-build.xml build.xml || die
36 }
37
38 src_test() {
39 java-pkg-2_src_test
40 }
41
42 src_install() {
43 java-pkg_newjar target/${P}.jar
44
45 use doc && java-pkg_dojavadoc dist/docs/api
46 use examples && java-pkg_doexamples src/java/samples
47 use source && java-pkg_dosrc src/java/main/*
48 }

  ViewVC Help
Powered by ViewVC 1.1.20