diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2007-05-01 18:37:32 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2007-05-01 18:37:32 +0000 |
commit | ccbf54ccc550d93fdec760226940337b4aaef750 (patch) | |
tree | bef124c8ae2bde777d6bff7cef11a5d6853789d0 /dev-java/saaj | |
parent | Fix SRC_URI. (diff) | |
download | historical-ccbf54ccc550d93fdec760226940337b4aaef750.tar.gz historical-ccbf54ccc550d93fdec760226940337b4aaef750.tar.bz2 historical-ccbf54ccc550d93fdec760226940337b4aaef750.zip |
Initial commit of saaj.
Package-Manager: portage-2.1.2.5
Diffstat (limited to 'dev-java/saaj')
-rw-r--r-- | dev-java/saaj/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/saaj/files/build.xml-1.3 | 16 | ||||
-rw-r--r-- | dev-java/saaj/files/digest-saaj-1.3 | 3 | ||||
-rw-r--r-- | dev-java/saaj/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/saaj/saaj-1.3.ebuild | 58 |
5 files changed, 95 insertions, 0 deletions
diff --git a/dev-java/saaj/ChangeLog b/dev-java/saaj/ChangeLog new file mode 100644 index 000000000000..68cee4c79c4c --- /dev/null +++ b/dev-java/saaj/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/saaj +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/saaj/ChangeLog,v 1.1 2007/05/01 18:37:32 nelchael Exp $ + +*saaj-1.3 (01 May 2007) + + 01 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> +files/build.xml-1.3, + +metadata.xml, +saaj-1.3.ebuild: + Initial commit of saaj. + diff --git a/dev-java/saaj/files/build.xml-1.3 b/dev-java/saaj/files/build.xml-1.3 new file mode 100644 index 000000000000..596bff615b1d --- /dev/null +++ b/dev-java/saaj/files/build.xml-1.3 @@ -0,0 +1,16 @@ +<?xml version="1.0"?> +<project name="saaj" default="jar" basedir="."> + <target name="compile"> + <mkdir dir="build"/> + <javac debug="false" srcdir="src" destdir="build"> + <classpath> + <fileset dir="lib" includes="**/*.jar"/> + </classpath> + </javac> + </target> + <target name="jar" depends="compile"> + <jar destfile="saaj.jar"> + <fileset dir="build" includes="**/*.class"/> + </jar> + </target> +</project> diff --git a/dev-java/saaj/files/digest-saaj-1.3 b/dev-java/saaj/files/digest-saaj-1.3 new file mode 100644 index 000000000000..693bb1907b8c --- /dev/null +++ b/dev-java/saaj/files/digest-saaj-1.3 @@ -0,0 +1,3 @@ +MD5 e4a3a96db08fc6fdff2430b966a32ae2 saaj1.3.src.zip 262141 +RMD160 87e3d28373e84b8fbd03f0467ad8a0b6e091139d saaj1.3.src.zip 262141 +SHA256 51a746c08aac81c4fe39af6fcb3fd5f713159306f87f7ec84109b9d877e4fa6b saaj1.3.src.zip 262141 diff --git a/dev-java/saaj/metadata.xml b/dev-java/saaj/metadata.xml new file mode 100644 index 000000000000..39fffcd80808 --- /dev/null +++ b/dev-java/saaj/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> diff --git a/dev-java/saaj/saaj-1.3.ebuild b/dev-java/saaj/saaj-1.3.ebuild new file mode 100644 index 000000000000..b7dade1ca8e0 --- /dev/null +++ b/dev-java/saaj/saaj-1.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/saaj/saaj-1.3.ebuild,v 1.1 2007/05/01 18:37:32 nelchael Exp $ + +JAVA_PKG_IUSE="source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="SOAP with Attachments API for Java" +HOMEPAGE="https://saaj.dev.java.net/" +SRC_URI="https://saaj.dev.java.net/files/documents/52/32731/saaj${PV}.src.zip" + +LICENSE="CDDL" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +COMMON_DEP="dev-java/jsr67 + dev-java/sun-jaf + =dev-java/xerces-2* + dev-java/xalan" +DEPEND=">=virtual/jdk-1.5 + ${COMMON_DEP}" +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" + +S="${WORKDIR}" + +src_unpack() { + + unpack ${A} + + mkdir src lib || die + mv com src || die + + cd "${S}/lib" + java-pkg_jar-from jsr67 + java-pkg_jar-from sun-jaf + java-pkg_jar-from xerces-2 + java-pkg_jar-from xalan + + cp "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" -i || die + + cd "${S}/src" + # YES! There's nothing like using com.sun...internal ! YAY! + find . -name '*.java' -exec sed -i \ + -e 's,com.sun.org.apache.xerces.internal,org.apache.xerces,g' \ + -e 's,com.sun.org.apache.xalan.internal.xsltc.trax,org.apache.xalan.xsltc.trax,g' \ + {} \; + +} + +src_install() { + java-pkg_dojar saaj.jar + + use source && java-pkg_dosrc src/* + +} |