summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-09-21 19:37:37 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-09-21 19:37:37 +0000
commit9c5cb530cbe507858619ba1ac736d9f4bf1d8f60 (patch)
treec579b4dd825ed244566ca056557c77666539ccd4
parentinitial import, ebuild created by me, as a dep (Manifest recommit) (diff)
downloadgentoo-2-9c5cb530cbe507858619ba1ac736d9f4bf1d8f60.tar.gz
gentoo-2-9c5cb530cbe507858619ba1ac736d9f4bf1d8f60.tar.bz2
gentoo-2-9c5cb530cbe507858619ba1ac736d9f4bf1d8f60.zip
now builds from source
-rw-r--r--app-misc/openjnlp/ChangeLog7
-rw-r--r--app-misc/openjnlp/Manifest4
-rw-r--r--app-misc/openjnlp/files/digest-openjnlp-0.7.1-r11
-rw-r--r--app-misc/openjnlp/openjnlp-0.7.1-r1.ebuild48
4 files changed, 58 insertions, 2 deletions
diff --git a/app-misc/openjnlp/ChangeLog b/app-misc/openjnlp/ChangeLog
index bf054e91470b..d47d5db7ecca 100644
--- a/app-misc/openjnlp/ChangeLog
+++ b/app-misc/openjnlp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/openjnlp
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/openjnlp/ChangeLog,v 1.3 2004/08/24 03:09:04 zx Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/openjnlp/ChangeLog,v 1.4 2004/09/21 19:37:37 axxo Exp $
+
+*openjnlp-0.7.1-r1 (21 Sep 2004)
+
+ 21 Sep 2004; Thomas Matthijs <axxo@gentoo.org> +openjnlp-0.7.1-r1.ebuild:
+ now builds from source
23 Aug 2004; Chris Aniszczyk <zx@gentoo.org> openjnlp-0.7.1.ebuild:
Marking stable on x86
diff --git a/app-misc/openjnlp/Manifest b/app-misc/openjnlp/Manifest
index 46c8c8039536..ef5ea53eea59 100644
--- a/app-misc/openjnlp/Manifest
+++ b/app-misc/openjnlp/Manifest
@@ -1,4 +1,6 @@
+MD5 1fa1a3cae0557dc5d1f53210b61212f0 openjnlp-0.7.1-r1.ebuild 789
+MD5 43e049a36acc81ec400e5fe91c847dae openjnlp-0.7.1.ebuild 774
MD5 f3d94d318a4199b597be47d36a27b1d3 ChangeLog 445
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
-MD5 43e049a36acc81ec400e5fe91c847dae openjnlp-0.7.1.ebuild 774
+MD5 19f0742529b1213caf92b0f15f66de24 files/digest-openjnlp-0.7.1-r1 75
MD5 ba9692cf36101897c3f8b13354757dd4 files/digest-openjnlp-0.7.1 66
diff --git a/app-misc/openjnlp/files/digest-openjnlp-0.7.1-r1 b/app-misc/openjnlp/files/digest-openjnlp-0.7.1-r1
new file mode 100644
index 000000000000..cd1803ca2f98
--- /dev/null
+++ b/app-misc/openjnlp/files/digest-openjnlp-0.7.1-r1
@@ -0,0 +1 @@
+MD5 477ee693e80bdd6f0654a857e58b0cc4 OpenJNLP-src-rel_ver-0-7-1.zip 369989
diff --git a/app-misc/openjnlp/openjnlp-0.7.1-r1.ebuild b/app-misc/openjnlp/openjnlp-0.7.1-r1.ebuild
new file mode 100644
index 000000000000..ef44a9cca9bd
--- /dev/null
+++ b/app-misc/openjnlp/openjnlp-0.7.1-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/openjnlp/openjnlp-0.7.1-r1.ebuild,v 1.1 2004/09/21 19:37:37 axxo Exp $
+
+inherit java-pkg
+
+DESCRIPTION="An open-source implementation of the JNLP"
+HOMEPAGE="http://openjnlp.nanode.org/"
+SRC_URI="mirror://sourceforge/openjnlp/OpenJNLP-src-rel_ver-${PV//./-}.zip"
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="virtual/jdk
+ >=dev-java/ant-1.6
+ dev-java/sax
+ dev-java/jnlp-bin
+ dev-java/nanoxml"
+RDEPEND="virtual/jre"
+
+S=${WORKDIR}/OpenJNLP-src-rel_ver-${PV//./-}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/jars
+ java-pkg_jar-from jnlp-bin
+ java-pkg_jar-from sax
+ java-pkg_jar-from nanoxml nanoxml.jar nanoxml-2.2.jar
+ java-pkg_jar-from nanoxml nanoxml-sax.jar nanoxml-sax-2.2.jar
+}
+
+src_compile() {
+ cd ${S}/targets
+ ant build -lib ../jars/MRJToolkitStubs.zip || die "failed to build"
+}
+
+src_install() {
+ cd ${S}/build/apps/unix/OpenJNLP-0.7.1/
+ java-pkg_dojar lib/*.jar
+
+ echo "#!/bin/sh" > ${PN}
+ echo '${JAVA_HOME}'/bin/java -cp $(java-config --classpath=openjnlp) org.nanode.app.OpenJNLP '$*' >> ${PN}
+
+ dodoc {History,ReadMe}.txt
+
+ dobin ${PN}
+}
+