summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-10-30 18:52:14 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-10-30 18:52:14 +0000
commitd71588fe975a727511f05e4719f8baeefe0b57f4 (patch)
tree31fac0a0b9067a833109e8ad405fecfd61a3d8f1 /dev-java/jms
parentsun-bcla-jms (diff)
downloadhistorical-d71588fe975a727511f05e4719f8baeefe0b57f4.tar.gz
historical-d71588fe975a727511f05e4719f8baeefe0b57f4.tar.bz2
historical-d71588fe975a727511f05e4719f8baeefe0b57f4.zip
inital import, ebuild contributed by Dan <dan@intuitivelyobvious.net>
Diffstat (limited to 'dev-java/jms')
-rw-r--r--dev-java/jms/ChangeLog10
-rw-r--r--dev-java/jms/Manifest14
-rw-r--r--dev-java/jms/files/digest-jms-1.11
-rw-r--r--dev-java/jms/jms-1.1.ebuild54
-rw-r--r--dev-java/jms/metadata.xml5
5 files changed, 84 insertions, 0 deletions
diff --git a/dev-java/jms/ChangeLog b/dev-java/jms/ChangeLog
new file mode 100644
index 000000000000..4581171210b8
--- /dev/null
+++ b/dev-java/jms/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/jms
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jms/ChangeLog,v 1.1 2004/10/30 18:52:14 axxo Exp $
+
+*jms-1.1 (30 Oct 2004)
+
+ 30 Oct 2004; Thomas Matthijs <axxo@gentoo.org> +metadata.xml,
+ +jms-1.1.ebuild:
+ inital import, ebuild contributed by Dan <dan@intuitivelyobvious.net>
+
diff --git a/dev-java/jms/Manifest b/dev-java/jms/Manifest
new file mode 100644
index 000000000000..25611db36c1b
--- /dev/null
+++ b/dev-java/jms/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 ac06ffec9517120dd153a1097d092ebd jms-1.1.ebuild 1403
+MD5 431dc051bbd15dec523e499c5242edb9 ChangeLog 375
+MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158
+MD5 6ca22a64031fe5cba54a958c6c4769b7 files/digest-jms-1.1 67
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBg+Mg/rLF9B432nYRArhHAJ9KdPQlTEPfWD3M4gKe7lc8/iUyCwCfUMbQ
+npJ04ibjS7N2VLezakpsptU=
+=9VNl
+-----END PGP SIGNATURE-----
diff --git a/dev-java/jms/files/digest-jms-1.1 b/dev-java/jms/files/digest-jms-1.1
new file mode 100644
index 000000000000..915597770fa6
--- /dev/null
+++ b/dev-java/jms/files/digest-jms-1.1
@@ -0,0 +1 @@
+MD5 11ca2cdc4706d02b372a17cbf33612f6 jms-1_1-fr-apidocs.zip 361922
diff --git a/dev-java/jms/jms-1.1.ebuild b/dev-java/jms/jms-1.1.ebuild
new file mode 100644
index 000000000000..900c4537b43d
--- /dev/null
+++ b/dev-java/jms/jms-1.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jms/jms-1.1.ebuild,v 1.1 2004/10/30 18:52:14 axxo Exp $
+
+inherit java-pkg
+
+At="jms-${PV/./_}-fr-apidocs.zip"
+DESCRIPTION="The Java Message Service (JMS) API is a messaging standard that allows application components to create, send, receive, and read messages."
+HOMEPAGE="http://java.sun.com/products/jms/"
+SRC_URI="${At}"
+LICENSE="sun-bcla-jms"
+SLOT=0
+KEYWORDS="~x86 ~amd64"
+IUSE="jikes doc"
+RDEPEND=">=virtual/jre-1.3"
+DEPEND="app-arch/unzip
+ >=virtual/jdk-1.3"
+RESTRICT="fetch"
+
+S=${WORKDIR}/${PN}${PV}
+
+pkg_nofetch() {
+ einfo " "
+ einfo " Due to license restrictions, we cannot fetch the"
+ einfo " distributables automagically."
+ einfo " "
+ einfo " 1. Visit ${HOMEPAGE} and select 'Downloads'"
+ einfo " 2. Select 'Download the version 1.1 API Documentation, Jar and Source'"
+ einfo " 3. Download ${At}"
+ einfo " 4. Move file to ${DISTDIR}"
+ einfo " "
+}
+
+src_compile() {
+ mkdir build
+ cd src/share
+ javac_cmd="javac"
+ use jikes && java_cmd="jikes -bootclasspath ${JAVA_HOME}/jre/lib/rt.jar"
+
+ ${javac_cmd} -nowarn -d ${S}/build $(find -name "*.java")
+ if use doc ; then
+ mkdir ${S}/api
+ javadoc -d ${S}/api -quiet javax.jms
+ fi
+
+ cd ${S}
+ jar cf jms.jar -C build .
+}
+
+src_install() {
+ java-pkg_dojar jms.jar
+ use doc && java-pkg_dohtml -r api
+}
+
diff --git a/dev-java/jms/metadata.xml b/dev-java/jms/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/jms/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>