summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/jsr93
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/jsr93')
-rw-r--r--dev-java/jsr93/Manifest1
-rw-r--r--dev-java/jsr93/files/build.xml-1.017
-rw-r--r--dev-java/jsr93/jsr93-1.0-r1.ebuild61
-rw-r--r--dev-java/jsr93/jsr93-1.0.ebuild64
-rw-r--r--dev-java/jsr93/metadata.xml5
5 files changed, 148 insertions, 0 deletions
diff --git a/dev-java/jsr93/Manifest b/dev-java/jsr93/Manifest
new file mode 100644
index 000000000000..73522cff2d41
--- /dev/null
+++ b/dev-java/jsr93/Manifest
@@ -0,0 +1 @@
+DIST jaxr-1_0-fr-spec.zip 1443243 SHA256 b90e753fa51c6b0ac4cbcffafe73bcdc6a139804fe562916d3604d49e5fe3c58 SHA512 a60f2da27defd5ddecfabf1fb00464c111b4e8264d3bd26f91b9c1195022eecf7e8aeaa904aa8f7cb6f0aa35a713b45d2b7e5fdaa474c2e29341ad64c04ed5e2 WHIRLPOOL 9460536353e73f88298de207e4bba3f13d88a63714ac34be397c60f8973667cd8b68626a987bb35e7594be0ea10d643e438e5aec37bea8624b6e96c340f0fe5a
diff --git a/dev-java/jsr93/files/build.xml-1.0 b/dev-java/jsr93/files/build.xml-1.0
new file mode 100644
index 000000000000..a0c9ed7a88e6
--- /dev/null
+++ b/dev-java/jsr93/files/build.xml-1.0
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<project name="jsr93-api" default="jar" basedir=".">
+ <target name="compile">
+ <mkdir dir="build"/>
+ <javac debug="false" srcdir="src" destdir="build" encoding="UTF-8">
+ <classpath>
+ <pathelement path="${classpath}"/>
+ <fileset dir="lib/" includes="**/*.jar"/>
+ </classpath>
+ </javac>
+ </target>
+ <target name="jar" depends="compile">
+ <jar destfile="jsr93-api.jar">
+ <fileset dir="build" includes="**/*.class"/>
+ </jar>
+ </target>
+</project>
diff --git a/dev-java/jsr93/jsr93-1.0-r1.ebuild b/dev-java/jsr93/jsr93-1.0-r1.ebuild
new file mode 100644
index 000000000000..eb0143a23f64
--- /dev/null
+++ b/dev-java/jsr93/jsr93-1.0-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Java API for XML Registries (JAXR) - API"
+HOMEPAGE="http://download.oracle.com/otndocs/jcp/jaxr-1.0-fr-oth-JSpec/"
+SRC_URI="jaxr-1_0-fr-spec.zip"
+
+LICENSE="sun-jsr93"
+RESTRICT="fetch"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE=""
+
+CDEPEND="dev-java/sun-jaf:0"
+
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}"
+
+S="${WORKDIR}"
+
+JAVA_ANT_ENCODING="ISO-8859-1"
+
+pkg_nofetch() {
+
+ einfo "Please go to"
+ einfo " ${HOMEPAGE}"
+ einfo "and download file:"
+ einfo ' "Java API for XML Registries Specification 1.0"'
+ einfo "Place the file ${SRC_URI} in:"
+ einfo " ${DISTDIR}"
+
+}
+
+java_prepare() {
+ cd "${WORKDIR}" || die "can't cd in ${WORKDIR}"
+ mkdir src || die
+ unzip -qq jaxr-apisrc.jar -d src || die "unzip failed"
+ rm -v *.jar || die
+ mkdir lib || die
+ cd lib || die "can't cd in ${WORKDIR}/lib"
+
+ java-pkg_jar-from sun-jaf
+
+ cp "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" || die
+}
+
+src_install() {
+ java-pkg_dojar "jsr93-api.jar"
+
+ use source && java-pkg_dosrc src/*
+}
diff --git a/dev-java/jsr93/jsr93-1.0.ebuild b/dev-java/jsr93/jsr93-1.0.ebuild
new file mode 100644
index 000000000000..bf773602756f
--- /dev/null
+++ b/dev-java/jsr93/jsr93-1.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 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="Java API for XML Registries (JAXR) - API"
+HOMEPAGE="http://download.oracle.com/otndocs/jcp/jaxr-1.0-fr-oth-JSpec/"
+SRC_URI="jaxr-1_0-fr-spec.zip"
+
+LICENSE="sun-jsr93"
+RESTRICT="fetch"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE=""
+
+COMMON_DEP="dev-java/sun-jaf"
+
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${COMMON_DEP}"
+
+S="${WORKDIR}"
+
+pkg_nofetch() {
+
+ einfo "Please go to"
+ einfo " ${HOMEPAGE}"
+ einfo "and download file:"
+ einfo ' "Java API for XML Registries Specification 1.0"'
+ einfo "Place the file ${SRC_URI} in:"
+ einfo " ${DISTDIR}"
+
+}
+
+src_unpack() {
+
+ unpack ${A}
+
+ cd "${WORKDIR}"
+ mkdir src || die
+ unzip -qq jaxr-apisrc.jar -d src || die "unzip failed"
+ rm -v *.jar || die
+ mkdir lib || die
+
+ cd lib
+ java-pkg_jar-from sun-jaf
+
+ cp "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" || die
+
+}
+
+src_install() {
+
+ java-pkg_dojar "jsr93-api.jar"
+
+ use source && java-pkg_dosrc src/*
+
+}
diff --git a/dev-java/jsr93/metadata.xml b/dev-java/jsr93/metadata.xml
new file mode 100644
index 000000000000..250f2d1940ea
--- /dev/null
+++ b/dev-java/jsr93/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>