summaryrefslogtreecommitdiff
blob: 4d18b87db2a654a2e4f041a4ce9db8426d9c575f (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
49
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jax-ws-api/jax-ws-api-2.0.ebuild,v 1.5 2008/03/28 18:11:57 nixnut Exp $

JAVA_PKG_IUSE="source"

inherit java-pkg-2 java-ant-2

DESCRIPTION="JAXWS 2.0 API Final Release"
HOMEPAGE="https://jax-ws.dev.java.net/"
SRC_URI="https://jax-ws.dev.java.net/files/documents/4202/34734/jaxws-api-fcs-src.zip"

LICENSE="CDDL"
SLOT="2"
KEYWORDS="amd64 ppc x86 ~x86-fbsd"

IUSE=""

COMMON_DEP="dev-java/jsr67
	=dev-java/jaxb-2*"

RDEPEND=">=virtual/jre-1.5
	${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.5
	app-arch/unzip
	${COMMON_DEP}"

S="${WORKDIR}"

src_unpack() {

	unpack ${A}

	mkdir lib
	cd lib
	java-pkg_jar-from jsr67
	java-pkg_jar-from jaxb-2

	cp "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" || die

}

src_install() {

	java-pkg_dojar "${PN}.jar"

	use source && java-pkg_dosrc .

}