/[gentoo-x86]/dev-java/jax-ws/jax-ws-2.0.1-r1.ebuild
Gentoo

Contents of /dev-java/jax-ws/jax-ws-2.0.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Feb 9 19:18:21 2010 UTC (8 years ago) by josejx
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
Marked ppc stable for bug #296228.
(Portage version: 2.1.7.16/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/jax-ws/jax-ws-2.0.1-r1.ebuild,v 1.2 2009/12/09 22:45:59 maekke Exp $
4
5 EAPI=2
6 JAVA_PKG_IUSE="source"
7
8 inherit java-pkg-2 java-ant-2 eutils
9
10 DESCRIPTION="Reference implementation of the Java API for XML Web Services"
11 HOMEPAGE="http://jax-ws.dev.java.net/"
12 DATE="20060817"
13 MY_P="JAXWS${PV}m1_source_${DATE}.jar"
14 SRC_URI="https://jax-ws.dev.java.net/jax-ws-201-m1/${MY_P}"
15
16 LICENSE="CDDL"
17 SLOT="2"
18 KEYWORDS="amd64 ppc x86 ~x86-fbsd"
19 IUSE=""
20
21 COMMON_DEP="dev-java/istack-commons-runtime:0
22 dev-java/jax-ws-api:2
23 dev-java/jaxb:2
24 dev-java/jsr173:0
25 >=dev-java/jsr181-1.0
26 dev-java/jsr250:0
27 dev-java/sun-httpserver-bin:2
28 dev-java/jsr67:0
29 dev-java/saaj:0
30 dev-java/sjsxp:0
31 dev-java/stax-ex:0
32 dev-java/sun-jaf:0
33 dev-java/txw2-runtime:0
34 dev-java/xmlstreambuffer:0
35 dev-java/xml-commons-resolver:0"
36
37 # abstract interface problems with 1.5
38 # https://bugs.gentoo.org/show_bug.cgi?id=207633
39 DEPEND=">=virtual/jdk-1.5
40 app-arch/unzip
41 ${COMMON_DEP}"
42
43 RDEPEND=">=virtual/jre-1.5
44 ${COMMON_DEP}"
45
46 S="${WORKDIR}/jaxws-si"
47
48 src_unpack() {
49 echo "A" | java -jar "${DISTDIR}/${A}" -console > /dev/null || die "unpack failed"
50
51 unpack ./jaxws-src.zip || die "unzip failed"
52 }
53
54 java_prepare() {
55 cd "${S}/lib"
56 rm -v *.jar || die
57
58 java-pkg_jarfrom istack-commons-runtime
59 java-pkg_jarfrom jax-ws-api-2
60 java-pkg_jarfrom jaxb-2
61 java-pkg_jarfrom jsr173
62 java-pkg_jarfrom jsr181
63 java-pkg_jarfrom jsr250
64 java-pkg_jarfrom jsr67
65 java-pkg_jarfrom saaj
66 java-pkg_jarfrom sjsxp
67 java-pkg_jarfrom sun-httpserver-bin-2
68 java-pkg_jarfrom stax-ex
69 java-pkg_jarfrom sun-jaf
70 java-pkg_jarfrom txw2-runtime
71 java-pkg_jarfrom xml-commons-resolver
72 java-pkg_jarfrom xmlstreambuffer
73
74 cp \
75 "${S}"/src/rt/build/gen-src/com/sun/xml/ws/resources/*.java \
76 "${S}"/src/rt/src/com/sun/xml/ws/resources/ || die "cp failed"
77
78 find "${S}/src/" -name '*.java' -exec \
79 sed -i -e \
80 's,com.sun.org.apache.xml.internal.resolver,org.apache.xml.resolver,g' \
81 {} \;
82
83 cd "${S}"
84 epatch "${FILESDIR}/${P}-gentoo.patch"
85 java-ant_rewrite-bootclasspath auto build.xml "$(java-pkg_getjars jax-ws-api-2)"
86 }
87
88 EANT_BUILD_TARGET="build"
89
90 src_install() {
91 java-pkg_dojar jax-ws.jar
92
93 use source && java-pkg_dosrc src/rt/src/*
94 }

  ViewVC Help
Powered by ViewVC 1.1.20