summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-07-30 05:20:40 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-07-30 05:20:40 +0000
commitd365758bd37ccab9a3a20ba43a4d8cab24390ded (patch)
treef73147d7713d88210a3c3fd93cab6183f9e8a96c /dev-java/jsx
parentinitial import, dependency of gallery-remote (Manifest recommit) (diff)
downloadgentoo-2-d365758bd37ccab9a3a20ba43a4d8cab24390ded.tar.gz
gentoo-2-d365758bd37ccab9a3a20ba43a4d8cab24390ded.tar.bz2
gentoo-2-d365758bd37ccab9a3a20ba43a4d8cab24390ded.zip
initial import, dependency of gallery-remote
Diffstat (limited to 'dev-java/jsx')
-rw-r--r--dev-java/jsx/ChangeLog10
-rw-r--r--dev-java/jsx/Manifest3
-rw-r--r--dev-java/jsx/files/digest-jsx-1.0.7.41
-rw-r--r--dev-java/jsx/jsx-1.0.7.4.ebuild34
-rw-r--r--dev-java/jsx/metadata.xml5
5 files changed, 53 insertions, 0 deletions
diff --git a/dev-java/jsx/ChangeLog b/dev-java/jsx/ChangeLog
new file mode 100644
index 000000000000..fba7cdc7d5ad
--- /dev/null
+++ b/dev-java/jsx/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/jsx
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jsx/ChangeLog,v 1.1 2004/07/30 05:17:45 axxo Exp $
+
+*jsx-1.0.7.4 (30 Jul 2004)
+
+ 30 Jul 2004; Thomas Matthijs <axxo@gentoo.org> +metadata.xml,
+ +jsx-1.0.7.4.ebuild:
+ initial import, dependency of gallery-remote
+
diff --git a/dev-java/jsx/Manifest b/dev-java/jsx/Manifest
new file mode 100644
index 000000000000..b5f13b745ac0
--- /dev/null
+++ b/dev-java/jsx/Manifest
@@ -0,0 +1,3 @@
+MD5 25543e2c04442f17e350ed62ac2129c5 jsx-1.0.7.4.ebuild 840
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 05f988379996cafed89c27930b33f138 files/digest-jsx-1.0.7.4 59
diff --git a/dev-java/jsx/files/digest-jsx-1.0.7.4 b/dev-java/jsx/files/digest-jsx-1.0.7.4
new file mode 100644
index 000000000000..eb06453894de
--- /dev/null
+++ b/dev-java/jsx/files/digest-jsx-1.0.7.4
@@ -0,0 +1 @@
+MD5 1868e89e7f8ff9650269988c3720cf33 JSX1.0.7.4.jar 204076
diff --git a/dev-java/jsx/jsx-1.0.7.4.ebuild b/dev-java/jsx/jsx-1.0.7.4.ebuild
new file mode 100644
index 000000000000..0d0fd08ab063
--- /dev/null
+++ b/dev-java/jsx/jsx-1.0.7.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jsx/jsx-1.0.7.4.ebuild,v 1.1 2004/07/30 05:17:45 axxo Exp $
+
+inherit java-pkg
+
+DESCRIPTION="Java Serialization to XML (JSX) allows you to write and read any Java object graph as XML data with one line of code"
+HOMEPAGE="http://www.csse.monash.edu.au/~bren/JSX/"
+SRC_URI="http://www.csse.monash.edu.au/~bren/JSX/JSX${PV}.jar"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=">=virtual/jdk-1.2
+ dev-java/java-config"
+RDEPEND=">=virtual/jre-1.2"
+
+S=${WORKDIR}
+
+src_unpack() {
+ jar xf ${DISTDIR}/${A}
+}
+
+src_compile() {
+ rm -f JSX/*.class JSX/magic/*.class
+ $(java-config -c) JSX/*.java JSX/magic/*.java || die "compilation failed"
+}
+
+src_install() {
+ dodoc JSX/readme.txt
+ jar cf jsx.jar JSX/*.class JSX/magic/*.class || die "failed to create jar"
+ java-pkg_dojar jsx.jar
+}
+
diff --git a/dev-java/jsx/metadata.xml b/dev-java/jsx/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/jsx/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>