Initial commit of fastinfoset.
authorKrzysztof Pawlik <nelchael@gentoo.org>
Tue, 1 May 2007 19:11:13 +0000 (19:11 +0000)
committerKrzysztof Pawlik <nelchael@gentoo.org>
Tue, 1 May 2007 19:11:13 +0000 (19:11 +0000)
Package-Manager: portage-2.1.2.5

dev-java/fastinfoset/ChangeLog [new file with mode: 0644]
dev-java/fastinfoset/fastinfoset-1.2.1.ebuild [new file with mode: 0644]
dev-java/fastinfoset/files/build.xml-1.2.1 [new file with mode: 0644]
dev-java/fastinfoset/files/digest-fastinfoset-1.2.1 [new file with mode: 0644]
dev-java/fastinfoset/metadata.xml [new file with mode: 0644]

diff --git a/dev-java/fastinfoset/ChangeLog b/dev-java/fastinfoset/ChangeLog
new file mode 100644 (file)
index 0000000..ab53f40
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/fastinfoset
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/fastinfoset/ChangeLog,v 1.1 2007/05/01 19:11:13 nelchael Exp $
+
+*fastinfoset-1.2.1 (01 May 2007)
+
+  01 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> +files/build.xml-1.2.1,
+  +metadata.xml, +fastinfoset-1.2.1.ebuild:
+  Initial commit of fastinfoset.
+
diff --git a/dev-java/fastinfoset/fastinfoset-1.2.1.ebuild b/dev-java/fastinfoset/fastinfoset-1.2.1.ebuild
new file mode 100644 (file)
index 0000000..6c0c74e
--- /dev/null
@@ -0,0 +1,47 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/fastinfoset/fastinfoset-1.2.1.ebuild,v 1.1 2007/05/01 19:11:13 nelchael Exp $
+
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Fast Infoset"
+HOMEPAGE="https://fi.dev.java.net/"
+SRC_URI="https://fi.dev.java.net/files/documents/2634/45735/FastInfoset_src_${PV}.zip"
+
+LICENSE="CDDL"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.5
+       dev-java/jsr173"
+
+DEPEND=">=virtual/jdk-1.5
+       app-arch/unzip
+       ${RDEPEND}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+
+       unpack ${A}
+
+       mkdir src lib
+       mv com org src/ || die
+
+       cp "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" || die
+
+       cd "${S}/lib"
+       java-pkg_jar-from jsr173
+
+}
+
+src_install() {
+
+       java-pkg_newjar fi.jar
+
+       use source && java-pkg_dosrc src/*
+
+}
diff --git a/dev-java/fastinfoset/files/build.xml-1.2.1 b/dev-java/fastinfoset/files/build.xml-1.2.1
new file mode 100644 (file)
index 0000000..15dcdf6
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<project name="fi" 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="fi.jar">
+      <fileset dir="build" includes="**/*.class"/>
+    </jar>
+  </target>
+</project>
diff --git a/dev-java/fastinfoset/files/digest-fastinfoset-1.2.1 b/dev-java/fastinfoset/files/digest-fastinfoset-1.2.1
new file mode 100644 (file)
index 0000000..158d1e1
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 d5cd39b9ce53a85049e8210a08f81eb6 FastInfoset_src_1.2.1.zip 296557
+RMD160 1a176b30460c03e70cda3ad6414c95ed25d6f48c FastInfoset_src_1.2.1.zip 296557
+SHA256 7a72fd95990235b5d07e153e77ca8c372840529b6f2a70e8b66f2da8c0e73d07 FastInfoset_src_1.2.1.zip 296557
diff --git a/dev-java/fastinfoset/metadata.xml b/dev-java/fastinfoset/metadata.xml
new file mode 100644 (file)
index 0000000..39fffcd
--- /dev/null
@@ -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>