summaryrefslogtreecommitdiff
blob: 8982c3d41736102004f3a5e8736ff444770089d4 (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-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

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 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 .

}