summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-11-15 01:24:45 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-11-15 01:24:45 +0000
commit587961b2355c880e7b2ce4eae50df491cc3b2f98 (patch)
treec9f890bc05166ed128396cf08f8e4a8c979cbf1f /dev-java/openjms
parentRemove generation 1 ebuild. (diff)
downloadgentoo-2-587961b2355c880e7b2ce4eae50df491cc3b2f98.tar.gz
gentoo-2-587961b2355c880e7b2ce4eae50df491cc3b2f98.tar.bz2
gentoo-2-587961b2355c880e7b2ce4eae50df491cc3b2f98.zip
Use slot 2 (the latest version) instead of the old slot 2.3 of dev-java/xerces.
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-java/openjms')
-rw-r--r--dev-java/openjms/ChangeLog8
-rw-r--r--dev-java/openjms/files/digest-openjms-0.7.6.1-r36
-rw-r--r--dev-java/openjms/openjms-0.7.6.1-r3.ebuild87
3 files changed, 100 insertions, 1 deletions
diff --git a/dev-java/openjms/ChangeLog b/dev-java/openjms/ChangeLog
index b38554164db6..2124dbf5108f 100644
--- a/dev-java/openjms/ChangeLog
+++ b/dev-java/openjms/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/openjms
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/openjms/ChangeLog,v 1.16 2007/10/24 05:48:03 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/openjms/ChangeLog,v 1.17 2007/11/15 01:24:44 betelgeuse Exp $
+
+*openjms-0.7.6.1-r3 (15 Nov 2007)
+
+ 15 Nov 2007; Petteri Räty <betelgeuse@gentoo.org>
+ +openjms-0.7.6.1-r3.ebuild:
+ Use slot 2 (the latest version) instead of the old slot 2.3 of dev-java/xerces.
24 Oct 2007; William L. Thomson Jr. <wltjr@gentoo.org>
-openjms-0.7.6.1-r1.ebuild:
diff --git a/dev-java/openjms/files/digest-openjms-0.7.6.1-r3 b/dev-java/openjms/files/digest-openjms-0.7.6.1-r3
new file mode 100644
index 000000000000..83e3cad6c6a1
--- /dev/null
+++ b/dev-java/openjms/files/digest-openjms-0.7.6.1-r3
@@ -0,0 +1,6 @@
+MD5 2c87474700becdf9501c5009464e3d0b openjms-0.7.6.1-scripts.tar.gz 8737
+RMD160 77dae767b598805d3d6305410f2bb5b3a8dd76d8 openjms-0.7.6.1-scripts.tar.gz 8737
+SHA256 beff639bbfc2d26e5cdba560261d1fc4635c6ccb1d1b9dee597add788f071cb2 openjms-0.7.6.1-scripts.tar.gz 8737
+MD5 eb72c8a4141371cc373ab4e09314b2c8 openjms-0.7.6.1-src.tar.gz 7665924
+RMD160 52a9c91e3f7542d9f718a30b1e862264a3ed2b18 openjms-0.7.6.1-src.tar.gz 7665924
+SHA256 9c47eb526643a19de739825f0a511a8fdd4762b07033a857d1b2adb325a84ac2 openjms-0.7.6.1-src.tar.gz 7665924
diff --git a/dev-java/openjms/openjms-0.7.6.1-r3.ebuild b/dev-java/openjms/openjms-0.7.6.1-r3.ebuild
new file mode 100644
index 000000000000..067a950b3ab5
--- /dev/null
+++ b/dev-java/openjms/openjms-0.7.6.1-r3.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/openjms/openjms-0.7.6.1-r3.ebuild,v 1.1 2007/11/15 01:24:44 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc"
+WANT_ANT_TASKS="ant-antlr"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+SLOT="0"
+LICENSE="GPL-2"
+DESCRIPTION="Open Java Messaging System"
+HOMEPAGE="http://openjms.sourceforge.net/"
+KEYWORDS="~amd64 ~x86"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz mirror://gentoo/${P}-scripts.tar.gz"
+IUSE=""
+RDEPEND="=virtual/jre-1.4*
+ dev-java/antlr
+ =dev-java/castor-0.9*
+ dev-java/cdegroot-db
+ dev-java/commons-collections
+ dev-java/commons-dbcp
+ dev-java/commons-logging
+ dev-java/commons-pool
+ dev-java/concurrent-util
+ dev-java/exolabcore
+ dev-db/hsqldb
+ dev-java/jdbm
+ dev-java/sun-jms
+ dev-java/jta
+ dev-java/log4j
+ =dev-java/jakarta-oro-2.0*
+ ~dev-java/servletapi-2.3
+ >=dev-java/xerces-2.8"
+DEPEND="=virtual/jdk-1.4*
+ ${RDEPEND}
+ dev-java/ant-core"
+
+src_unpack() {
+ unpack ${A}
+ mv "${WORKDIR}/bin" "${S}"
+ mv "${WORKDIR}/config" "${S}"
+
+ cd "${S}"
+ epatch "${FILESDIR}/${PV}/buildfile.patch"
+ epatch "${FILESDIR}/${PV}/source.patch"
+
+ cd "${S}/lib"
+ rm -v *.jar || die
+
+ java-pkg_jar-from antlr
+ java-pkg_jar-from castor-0.9
+ java-pkg_jar-from cdegroot-db-1
+ java-pkg_jar-from commons-collections
+ java-pkg_jar-from commons-dbcp
+ java-pkg_jar-from commons-logging
+ java-pkg_jar-from commons-pool
+ java-pkg_jar-from concurrent-util
+ java-pkg_jar-from exolabcore
+ java-pkg_jar-from hsqldb
+ java-pkg_jar-from jdbm-1
+ java-pkg_jar-from sun-jms
+ java-pkg_jar-from jta
+ java-pkg_jar-from log4j
+ java-pkg_jar-from servletapi-2.3
+ # The build.xml runs java with something that uses xerces
+ java-pkg_jar-from --with-dependencies xerces-2
+ java-pkg_jar-from jakarta-oro-2.0
+}
+
+EANT_DOC_TARGET=""
+EANT_BUILD_TARGET="jar war"
+
+src_install() {
+ java-pkg_newjar lib/${P}.jar ${PN}.jar
+ java-pkg_newjar lib/${PN}-client-${PV}.jar ${PN}-client.jar
+ java-pkg_dowar lib/${PN}.war
+
+ dodir /opt/${PN}
+ cp -rP {bin,config,lib} "${D}"/opt/${PN}/
+ #use doc && cp -rP {docs,src} "${D}"/opt/${PN}/
+
+ fperms 755 /opt/${PN}/bin/*
+ newenvd "${FILESDIR}"/${PV}/10${P} 10${PN}
+ newinitd "${FILESDIR}"/${PV}/rc2 openjms
+ newconfd "${FILESDIR}"/${PV}/conf openjms
+}