summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2007-04-28 19:56:41 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2007-04-28 19:56:41 +0000
commit80335a008b3670705c07f74628ff3601f6de075c (patch)
tree00d5bf87c798b35978c6bc45755b96b4fe25afdc /dev-java/jsx
parentMigrated to generation 2. (diff)
downloadgentoo-2-80335a008b3670705c07f74628ff3601f6de075c.tar.gz
gentoo-2-80335a008b3670705c07f74628ff3601f6de075c.tar.bz2
gentoo-2-80335a008b3670705c07f74628ff3601f6de075c.zip
Migrated to generation 2.
(Portage version: 2.1.2.5)
Diffstat (limited to 'dev-java/jsx')
-rw-r--r--dev-java/jsx/ChangeLog7
-rw-r--r--dev-java/jsx/files/digest-jsx-1.0.7.5-r13
-rw-r--r--dev-java/jsx/jsx-1.0.7.5-r1.ebuild44
3 files changed, 53 insertions, 1 deletions
diff --git a/dev-java/jsx/ChangeLog b/dev-java/jsx/ChangeLog
index e8e2a5221db3..951e3aeed922 100644
--- a/dev-java/jsx/ChangeLog
+++ b/dev-java/jsx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/jsx
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jsx/ChangeLog,v 1.8 2007/02/09 07:23:19 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jsx/ChangeLog,v 1.9 2007/04/28 19:56:41 nelchael Exp $
+
+*jsx-1.0.7.5-r1 (28 Apr 2007)
+
+ 28 Apr 2007; Krzysiek Pawlik <nelchael@gentoo.org> +jsx-1.0.7.5-r1.ebuild:
+ Migrated to generation 2.
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/dev-java/jsx/files/digest-jsx-1.0.7.5-r1 b/dev-java/jsx/files/digest-jsx-1.0.7.5-r1
new file mode 100644
index 000000000000..9c8e70e1c48b
--- /dev/null
+++ b/dev-java/jsx/files/digest-jsx-1.0.7.5-r1
@@ -0,0 +1,3 @@
+MD5 066acb689484b19eea9e787c3d5a7567 freeJSX1.0.7.5.jar 205525
+RMD160 23df2a268cdb65cd8cdd2bcfc27cdd5f3427dddc freeJSX1.0.7.5.jar 205525
+SHA256 5d739a630de65385438368295989233d205e5ddee46b6f35af7335aafd23ecff freeJSX1.0.7.5.jar 205525
diff --git a/dev-java/jsx/jsx-1.0.7.5-r1.ebuild b/dev-java/jsx/jsx-1.0.7.5-r1.ebuild
new file mode 100644
index 000000000000..b0363cf6db34
--- /dev/null
+++ b/dev-java/jsx/jsx-1.0.7.5-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2007 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.5-r1.ebuild,v 1.1 2007/04/28 19:56:41 nelchael Exp $
+
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2
+
+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/freeJSX${PV}.jar"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.4"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}"
+
+src_unpack() {
+
+ unpack ${A}
+
+ rm -f JSX/*.class JSX/magic/*.class
+
+}
+
+src_compile() {
+
+ ejavac JSX/*.java JSX/magic/*.java || die "compilation failed"
+ jar cf jsx.jar JSX/*.class JSX/magic/*.class || die "failed to create jar"
+
+}
+
+src_install() {
+
+ java-pkg_dojar jsx.jar
+
+ dodoc JSX/readme.txt
+ use source && java-pkg_dosrc "${S}"
+
+}