blob: 60c7c59e0d438c446395fd28c392def898ab9e33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/stax-ex/stax-ex-1.0.ebuild,v 1.1 2007/05/01 18:52:49 nelchael Exp $
JAVA_PKG_IUSE="source"
inherit java-pkg-2 java-ant-2 eutils
DESCRIPTION="Extensions to complement JSR-173 StAX API"
HOMEPAGE="http://stax-ex.dev.java.net/"
SRC_URI="https://stax-ex.dev.java.net/files/documents/4480/44372/${P}-src.tar.gz"
LICENSE="CDDL"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
COMMON_DEPEND="dev-java/sun-jaf
dev-java/jsr173"
RDEPEND=">=virtual/jre-1.5
${COMMON_DEPEND}"
DEPEND=">=virtual/jdk-1.5
${COMMON_DEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
# build.xml is from maven-1 and tries to download jars to /root/.maven/
rm -f build.xml || die
cp "${FILESDIR}/build.xml-${PV}" build.xml || die
mkdir "${S}/lib" || die
cd "${S}/lib"
java-pkg_jar-from sun-jaf
java-pkg_jar-from jsr173
}
src_install() {
java-pkg_dojar "stax-ex.jar"
use source && java-pkg_dosrc src/java/*
}
|