diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2007-05-01 19:44:48 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2007-05-01 19:44:48 +0000 |
commit | 4f6e63a7430db4cb940e8f90dc18ed8b348dca0e (patch) | |
tree | 624cdbf323803ba6434bf242ba6071465f4aecdd /dev-java/jsr93 | |
parent | Initial commit of jaxb-tools. (diff) | |
download | historical-4f6e63a7430db4cb940e8f90dc18ed8b348dca0e.tar.gz historical-4f6e63a7430db4cb940e8f90dc18ed8b348dca0e.tar.bz2 historical-4f6e63a7430db4cb940e8f90dc18ed8b348dca0e.zip |
Initial commit of jsr93.
Package-Manager: portage-2.1.2.5
Diffstat (limited to 'dev-java/jsr93')
-rw-r--r-- | dev-java/jsr93/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/jsr93/files/build.xml-1.0 | 17 | ||||
-rw-r--r-- | dev-java/jsr93/files/digest-jsr93-1.0 | 3 | ||||
-rw-r--r-- | dev-java/jsr93/jsr93-1.0.ebuild | 64 | ||||
-rw-r--r-- | dev-java/jsr93/metadata.xml | 8 |
5 files changed, 102 insertions, 0 deletions
diff --git a/dev-java/jsr93/ChangeLog b/dev-java/jsr93/ChangeLog new file mode 100644 index 000000000000..39b93b3ea7b4 --- /dev/null +++ b/dev-java/jsr93/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/jsr93 +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr93/ChangeLog,v 1.1 2007/05/01 19:44:48 nelchael Exp $ + +*jsr93-1.0 (01 May 2007) + + 01 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> +files/build.xml-1.0, + +metadata.xml, +jsr93-1.0.ebuild: + Initial commit of jsr93. + 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/files/digest-jsr93-1.0 b/dev-java/jsr93/files/digest-jsr93-1.0 new file mode 100644 index 000000000000..67f647bad4e3 --- /dev/null +++ b/dev-java/jsr93/files/digest-jsr93-1.0 @@ -0,0 +1,3 @@ +MD5 e09fc2178eb8e16d9cf9f5661ba830b6 jaxr-1_0-fr-spec.zip 1443243 +RMD160 e7035a653f017f72f040ffa305c0f74ceb5da32e jaxr-1_0-fr-spec.zip 1443243 +SHA256 b90e753fa51c6b0ac4cbcffafe73bcdc6a139804fe562916d3604d49e5fe3c58 jaxr-1_0-fr-spec.zip 1443243 diff --git a/dev-java/jsr93/jsr93-1.0.ebuild b/dev-java/jsr93/jsr93-1.0.ebuild new file mode 100644 index 000000000000..19a67de260b5 --- /dev/null +++ b/dev-java/jsr93/jsr93-1.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr93/jsr93-1.0.ebuild,v 1.1 2007/05/01 19:44:48 nelchael Exp $ + +JAVA_PKG_IUSE="source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Java API for XML Registries (JAXR) - API" +HOMEPAGE="http://java.sun.com/xml/downloads/jaxr.html" +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..39fffcd80808 --- /dev/null +++ b/dev-java/jsr93/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + <maintainer> + <email>nelchael@gentoo.org</email> + </maintainer> +</pkgmetadata> |