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/xsom
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/xsom')
-rw-r--r--dev-java/xsom/Manifest1
-rw-r--r--dev-java/xsom/metadata.xml5
-rw-r--r--dev-java/xsom/xsom-20060901.ebuild52
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-java/xsom/Manifest b/dev-java/xsom/Manifest
new file mode 100644
index 000000000000..6ba1fe70717c
--- /dev/null
+++ b/dev-java/xsom/Manifest
@@ -0,0 +1 @@
+DIST xsom-src-20060901.tar.bz2 105215 SHA256 98e3cf0dce95f4ad21524461a50696544a4e60a07e0691202211b12271dd8aee SHA512 e49e83d0b6ef2d2f368d89119bb833217a2e527a661b8e3ee7f1a58a8769637bbeeb388edc452284305f3754abebfc732a39f7f12a6ce520080f34f125411ffe WHIRLPOOL db5449cb1110e5e705f736321df78786929eafa408c6154670cf05b29df734798d89d32ab2df27ebcf5930cc27bccebdd566e5ccc5174957f17d0a6407d3367f
diff --git a/dev-java/xsom/metadata.xml b/dev-java/xsom/metadata.xml
new file mode 100644
index 000000000000..250f2d1940ea
--- /dev/null
+++ b/dev-java/xsom/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>
diff --git a/dev-java/xsom/xsom-20060901.ebuild b/dev-java/xsom/xsom-20060901.ebuild
new file mode 100644
index 000000000000..382619dc95e4
--- /dev/null
+++ b/dev-java/xsom/xsom-20060901.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="XML Schema Object Model (XSOM) allows Java apps to easy parse and inspect XML Schema docs"
+HOMEPAGE="https://xsom.dev.java.net/"
+# Upstream does not have versioned source bundles :|
+SRC_URI="mirror://gentoo/xsom-src-${PV}.tar.bz2"
+
+LICENSE="CDDL"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+
+COMMON_DEP="
+ dev-java/relaxng-datatype
+ dev-java/relaxngcc"
+
+RDEPEND=">=virtual/jre-1.5
+ ${COMMON_DEP}"
+
+DEPEND=">=virtual/jdk-1.5
+ ${COMMON_DEP}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}/lib"
+ java-pkg_jarfrom relaxng-datatype
+ java-pkg_jarfrom relaxngcc
+
+ cd "${S}"
+ sed -i \
+ -e 's/target name="compile" depends="ngcc,javacc"/target name="compile"/g' \
+ -e 's/target name="jar" depends="clean,compile"/target name="jar" depends="compile"/g' \
+ build.xml || die "sed failed"
+
+}
+
+src_test() { :; }
+
+src_install() {
+ java-pkg_dojar build/xsom.jar
+
+ use doc && java-pkg_dojavadoc build/javadoc
+ use source && java-pkg_dosrc src/* build/src/*
+}