/[gentoo-x86]/dev-java/saxon/saxon-6.5.5.ebuild
Gentoo

Contents of /dev-java/saxon/saxon-6.5.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Jun 17 15:24:26 2007 UTC (7 years, 1 month ago) by wltjr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Stable on amd64, bug #180572. Removed older version
(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/saxon/saxon-6.5.5.ebuild,v 1.4 2007/06/04 13:18:53 opfer Exp $
4
5 JAVA_PKG_IUSE="doc examples source"
6 inherit java-pkg-2 java-ant-2 eutils versionator
7
8 MY_P="${PN}$(replace_all_version_separators -)"
9 DESCRIPTION="A collection of tools for processing XML documents: XSLT processor, XSL library, parser."
10 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
11 HOMEPAGE="http://saxon.sourceforge.net/"
12
13 LICENSE="MPL-1.1"
14 SLOT="6.5"
15 KEYWORDS="amd64 ppc x86"
16 IUSE=""
17
18 COMMON_DEP="~dev-java/jdom-1.0"
19
20 RDEPEND=">=virtual/jre-1.4
21 ${COMMON_DEP}"
22
23 DEPEND=">=virtual/jdk-1.4
24 app-arch/unzip
25 ${COMMON_DEP}"
26
27 S="${WORKDIR}"
28
29 src_unpack() {
30 unpack ${A}
31
32 unzip -qq source.zip -d src || die "failed to unpack"
33
34 cp "${FILESDIR}/build-${PV}.xml" build.xml || die
35
36 rm -v *.jar || die
37 rm -rf doc/api || die
38 rm samples/java/*.class || die
39 mkdir lib && cd lib
40 java-pkg_jar-from jdom-1.0
41 }
42
43 src_compile() {
44 java-pkg_filter-compiler jikes
45
46 eant -Dproject.name=${PN} jar $(use_doc)
47 }
48
49 src_install() {
50 java-pkg_dojar dist/${PN}.jar
51
52 if use doc; then
53 java-pkg_dojavadoc dist/doc/api
54 dohtml -r doc/*
55 fi
56 use examples && java-pkg_doexamples samples
57 use source && java-pkg_dosrc src/*
58 }

  ViewVC Help
Powered by ViewVC 1.1.20