diff options
Diffstat (limited to 'dev-java/jsr181')
-rw-r--r-- | dev-java/jsr181/Manifest | 1 | ||||
-rw-r--r-- | dev-java/jsr181/files/build.xml | 25 | ||||
-rw-r--r-- | dev-java/jsr181/jsr181-1.0-r1.ebuild | 38 | ||||
-rw-r--r-- | dev-java/jsr181/jsr181-1.0.ebuild | 36 | ||||
-rw-r--r-- | dev-java/jsr181/metadata.xml | 5 |
5 files changed, 105 insertions, 0 deletions
diff --git a/dev-java/jsr181/Manifest b/dev-java/jsr181/Manifest new file mode 100644 index 000000000000..7359ea9daf0f --- /dev/null +++ b/dev-java/jsr181/Manifest @@ -0,0 +1 @@ +DIST JAXWS2.0.1m1_source_20060817.jar 8993405 SHA256 9725cfb91cecff833055d7af45c3413ca9d1a818a4cfdb86211ed82f383f3865 SHA512 55454a8270310b9778c69aad8b8ace45dc4ba3059b33ac48dcfd5d771fade2d6e4c46a5a65a522ae5cca0438f159ba84c90d8e74d54731a9c6c0caa9d84a0314 WHIRLPOOL fe0727935c592b538b7042808fffa987ea5ae47554367ea0cfc91f65d765bd234713aaa142b2297988d74eec01fce9cd4bedceb0fb7b0068eb38084a1d5f5ba7 diff --git a/dev-java/jsr181/files/build.xml b/dev-java/jsr181/files/build.xml new file mode 100644 index 000000000000..cfc6aabd8867 --- /dev/null +++ b/dev-java/jsr181/files/build.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" standalone="yes"?> +<project basedir="." default="jar"> + <target name="compile"> + <mkdir dir="bin"/> + <javac srcdir="src" destdir="bin"> + <include name="**/*.java"/> + <classpath> + <fileset dir="lib"> + <include name="**/*.jar"/> + </fileset> + </classpath> + </javac> + </target> + <target name="jar" depends="compile"> + <jar destfile="jsr181.jar" manifest="META-INF/MANIFEST.MF"> + <zipfileset dir="bin"/> + </jar> + </target> + <target name="doc"> + <mkdir dir="api"/> + <javadoc packagenames="javax.*" destdir="api"> + <fileset dir="src/" includes="**/*.java"/> + </javadoc> + </target> +</project> diff --git a/dev-java/jsr181/jsr181-1.0-r1.ebuild b/dev-java/jsr181/jsr181-1.0-r1.ebuild new file mode 100644 index 000000000000..2dce026627a7 --- /dev/null +++ b/dev-java/jsr181/jsr181-1.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit java-pkg-2 + +DESCRIPTION="JSR 181 API classes" +HOMEPAGE="http://jax-ws.dev.java.net/" +DATE="20060817" +MY_P="JAXWS2.0.1m1_source_${DATE}.jar" +SRC_URI="https://jax-ws.dev.java.net/jax-ws-201-m1/${MY_P}" + +LICENSE="CDDL" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=virtual/jre-1.6" +DEPEND=">=virtual/jdk-1.6 + app-arch/unzip + ${RDEPEND}" + +S="${WORKDIR}/jaxws-si" + +src_unpack() { + printf '%s\n' "A" | $(java-config --java) -jar "${DISTDIR}/${A}" -console > /dev/null || die "unpack failed" + unpack ./jaxws-src.zip || die "unzip failed" +} + +src_compile() { + : +} + +src_install() { + java-pkg_newjar lib/jsr181-api.jar +} diff --git a/dev-java/jsr181/jsr181-1.0.ebuild b/dev-java/jsr181/jsr181-1.0.ebuild new file mode 100644 index 000000000000..f18794bfea8b --- /dev/null +++ b/dev-java/jsr181/jsr181-1.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit java-pkg-2 + +DESCRIPTION="JSR 181 API classes" +HOMEPAGE="http://jax-ws.dev.java.net/" +DATE="20060817" +MY_P="JAXWS2.0.1m1_source_${DATE}.jar" +SRC_URI="https://jax-ws.dev.java.net/jax-ws-201-m1/${MY_P}" + +LICENSE="CDDL" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=virtual/jre-1.6" +DEPEND=">=virtual/jdk-1.6 + app-arch/unzip + ${RDEPEND}" + +S="${WORKDIR}/jaxws-si" + +src_unpack() { + printf '%s\n' "A" | $(java-config --java) -jar "${DISTDIR}/${A}" -console > /dev/null || die "unpack failed" + unpack ./jaxws-src.zip || die "unzip failed" +} + +src_compile() { + : +} + +src_install() { + java-pkg_newjar lib/jsr181-api.jar +} diff --git a/dev-java/jsr181/metadata.xml b/dev-java/jsr181/metadata.xml new file mode 100644 index 000000000000..250f2d1940ea --- /dev/null +++ b/dev-java/jsr181/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> |