summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2012-06-05 12:42:42 +0000
committerRalph Sennhauser <sera@gentoo.org>2012-06-05 12:42:42 +0000
commit99a66842f42fd0c715c26a20e8c62dfbe2b79848 (patch)
treef17babe949b8517d82b18a3e8c19480798358b02 /dev-java/xsdlib
parentMarked ~hppa too. (diff)
downloadgentoo-2-99a66842f42fd0c715c26a20e8c62dfbe2b79848.tar.gz
gentoo-2-99a66842f42fd0c715c26a20e8c62dfbe2b79848.tar.bz2
gentoo-2-99a66842f42fd0c715c26a20e8c62dfbe2b79848.zip
Version bump. Based on work of James Le Cuirot <chewi@aura-online.co.uk> in java-overlay.
(Portage version: 2.1.10.62/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/xsdlib')
-rw-r--r--dev-java/xsdlib/ChangeLog8
-rw-r--r--dev-java/xsdlib/xsdlib-20090415.ebuild53
2 files changed, 60 insertions, 1 deletions
diff --git a/dev-java/xsdlib/ChangeLog b/dev-java/xsdlib/ChangeLog
index dc133564da64..21b100c2c137 100644
--- a/dev-java/xsdlib/ChangeLog
+++ b/dev-java/xsdlib/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/xsdlib
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xsdlib/ChangeLog,v 1.33 2012/04/15 18:38:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xsdlib/ChangeLog,v 1.34 2012/06/05 12:42:42 sera Exp $
+
+*xsdlib-20090415 (05 Jun 2012)
+
+ 05 Jun 2012; Ralph Sennhauser <sera@gentoo.org> +xsdlib-20090415.ebuild:
+ Version bump. Based on work of James Le Cuirot <chewi@aura-online.co.uk> in
+ java-overlay.
15 Apr 2012; Mike Frysinger <vapier@gentoo.org> xsdlib-20050627-r2.ebuild:
Add back ia64 love #349020 by Dennis Schridde.
diff --git a/dev-java/xsdlib/xsdlib-20090415.ebuild b/dev-java/xsdlib/xsdlib-20090415.ebuild
new file mode 100644
index 000000000000..cdf891e85b0f
--- /dev/null
+++ b/dev-java/xsdlib/xsdlib-20090415.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xsdlib/xsdlib-20090415.ebuild,v 1.1 2012/06/05 12:42:42 sera Exp $
+
+EAPI="4"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Sun XML Datatypes Library"
+HOMEPAGE="http://msv.java.net/"
+SRC_URI="http://java.net/downloads/msv/releases/${PN}.${PV}.zip"
+
+LICENSE="BSD-2 Apache-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+COMMON_DEP="
+ dev-java/xerces:2
+ dev-java/relaxng-datatype:0"
+RDEPEND="${COMMON_DEP}
+ >=virtual/jre-1.4"
+DEPEND="${COMMON_DEP}
+ >=virtual/jdk-1.4
+ app-arch/unzip"
+
+S="${WORKDIR}/${P}"
+
+java_prepare() {
+ find -name '*.jar' -exec rm -v {} + || die
+}
+
+JAVA_SRC_DIR="src src-apache"
+JAVA_GENTOO_CLASSPATH="relaxng-datatype,xerces-2"
+
+src_compile() {
+ java-pkg-simple_src_compile
+
+ local dir; for dir in ${JAVA_SRC_DIR}; do
+ pushd ${dir} > /dev/null || die
+ jar -uf "${S}"/${PN}.jar $(find -name '*.properties') || die
+ popd > /dev/null
+ done
+}
+
+src_install() {
+ java-pkg-simple_src_install
+
+ dodoc README.txt
+ dohtml HowToUse.html
+}