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/jaxp
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/jaxp')
-rw-r--r--dev-java/jaxp/Manifest1
-rw-r--r--dev-java/jaxp/files/build.xml-1.416
-rw-r--r--dev-java/jaxp/jaxp-1.4-r1.ebuild40
-rw-r--r--dev-java/jaxp/metadata.xml5
4 files changed, 62 insertions, 0 deletions
diff --git a/dev-java/jaxp/Manifest b/dev-java/jaxp/Manifest
new file mode 100644
index 000000000000..40d270ab3ad7
--- /dev/null
+++ b/dev-java/jaxp/Manifest
@@ -0,0 +1 @@
+DIST jaxp-1.4.tar.bz2 644928 SHA256 bc516f8d0673014ed9532eeda67d876996440f7a578f0e4fb464d9aa7d1bb3fe SHA512 d9a0a61a46ec3661eec63fc5a3ff32bde1bba8bc17653c8e05a54f4e36063e9a8b06cf9ce47686f76f08c3858ce4951ff2a85e2fb997cd82088338e2ee519e73 WHIRLPOOL 1afe192d4deed29b5fbc93f5f11f71097c9b9319c68c213988499a525d0e89c6bdd97e8643e1afc560cafd06028179ff23aac317244cadae5aa06a794c8da375
diff --git a/dev-java/jaxp/files/build.xml-1.4 b/dev-java/jaxp/files/build.xml-1.4
new file mode 100644
index 000000000000..9068b31f7b9f
--- /dev/null
+++ b/dev-java/jaxp/files/build.xml-1.4
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<project name="jaxp" default="jar" basedir=".">
+ <target name="compile">
+ <mkdir dir="build"/>
+ <javac debug="false" srcdir="jaxp-1_4-api/src" destdir="build">
+ <classpath>
+ <fileset dir="lib" includes="**/*.jar"/>
+ </classpath>
+ </javac>
+ </target>
+ <target name="jar" depends="compile">
+ <jar destfile="jaxp-ri.jar">
+ <fileset dir="build" includes="**/*.class"/>
+ </jar>
+ </target>
+</project>
diff --git a/dev-java/jaxp/jaxp-1.4-r1.ebuild b/dev-java/jaxp/jaxp-1.4-r1.ebuild
new file mode 100644
index 000000000000..15eff2c9d19b
--- /dev/null
+++ b/dev-java/jaxp/jaxp-1.4-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="The Java API for XML Processing (JAXP)"
+HOMEPAGE="https://jaxp.dev.java.net/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="CDDL"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.4"
+RDEPEND=">=virtual/jre-1.4"
+
+src_prepare() {
+ cp -i "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" || die "cp failed"
+}
+
+EANT_DOC_TARGET=""
+
+src_install() {
+ java-pkg_dojar jaxp-ri.jar
+
+ use source && java-pkg_dosrc jaxp-1_4-api/src/{javax,org}
+ dohtml \
+ docs/JAXP-Compatibility.html \
+ docs/ReleaseNotes.html
+ use doc && java-pkg_dojavadoc docs/api
+
+ cd "${ED}/usr/share/${PN}/lib/"
+ ln -s jaxp-ri.jar jaxp.jar || die
+ java-pkg_regjar /usr/share/${PN}/lib/jaxp.jar
+}
diff --git a/dev-java/jaxp/metadata.xml b/dev-java/jaxp/metadata.xml
new file mode 100644
index 000000000000..250f2d1940ea
--- /dev/null
+++ b/dev-java/jaxp/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>