summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLim Swee Tat <st_lim@gentoo.org>2004-05-20 16:41:24 +0000
committerLim Swee Tat <st_lim@gentoo.org>2004-05-20 16:41:24 +0000
commitd828569ae0c7fcb1a8dc20d1b9502ebcc480e3ce (patch)
treea1003153974e9bd7335027943475340e9b8081e4 /dev-java/quartz
parentAdding in the multilib patch for amd64 (diff)
downloadhistorical-d828569ae0c7fcb1a8dc20d1b9502ebcc480e3ce.tar.gz
historical-d828569ae0c7fcb1a8dc20d1b9502ebcc480e3ce.tar.bz2
historical-d828569ae0c7fcb1a8dc20d1b9502ebcc480e3ce.zip
Initial commit
Diffstat (limited to 'dev-java/quartz')
-rw-r--r--dev-java/quartz/ChangeLog10
-rw-r--r--dev-java/quartz/Manifest4
-rw-r--r--dev-java/quartz/files/digest-quartz-1.3.41
-rw-r--r--dev-java/quartz/metadata.xml6
-rw-r--r--dev-java/quartz/quartz-1.3.4.ebuild57
5 files changed, 78 insertions, 0 deletions
diff --git a/dev-java/quartz/ChangeLog b/dev-java/quartz/ChangeLog
new file mode 100644
index 000000000000..f81bbf883902
--- /dev/null
+++ b/dev-java/quartz/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/quartz
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/quartz/ChangeLog,v 1.1 2004/05/20 16:41:24 st_lim Exp $
+
+*quartz-1.3.4 (21 May 2004)
+
+ 21 May 2004; Lim Swee Tat,,+65-9763-4381,+65-6314-3146 <st_lim@gentoo.org>
+ +quartz-1.3.4.ebuild:
+ Initial commit
+
diff --git a/dev-java/quartz/Manifest b/dev-java/quartz/Manifest
new file mode 100644
index 000000000000..aeba5587d2c6
--- /dev/null
+++ b/dev-java/quartz/Manifest
@@ -0,0 +1,4 @@
+MD5 70b5c4b2ad5de8b5ad59a27a446c29ff metadata.xml 221
+MD5 575fcb92d62f7d9e0c14b1b63444b027 quartz-1.3.4.ebuild 2146
+MD5 a2efa88f39e94fb1f2d6c5ee1e6bee0f ChangeLog 360
+MD5 2a356855e5f18bec4fa487120599d27a files/digest-quartz-1.3.4 65
diff --git a/dev-java/quartz/files/digest-quartz-1.3.4 b/dev-java/quartz/files/digest-quartz-1.3.4
new file mode 100644
index 000000000000..1316f070f3c5
--- /dev/null
+++ b/dev-java/quartz/files/digest-quartz-1.3.4
@@ -0,0 +1 @@
+MD5 fbecbf634c687888748bbbacc4f3e8c8 quartz-1.3.4.tar.gz 1678452
diff --git a/dev-java/quartz/metadata.xml b/dev-java/quartz/metadata.xml
new file mode 100644
index 000000000000..ce289861edad
--- /dev/null
+++ b/dev-java/quartz/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <longdescription>Quartz from OpenSymphony</longdescription>
+</pkgmetadata>
diff --git a/dev-java/quartz/quartz-1.3.4.ebuild b/dev-java/quartz/quartz-1.3.4.ebuild
new file mode 100644
index 000000000000..d5209759e649
--- /dev/null
+++ b/dev-java/quartz/quartz-1.3.4.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/quartz/quartz-1.3.4.ebuild,v 1.1 2004/05/20 16:41:24 st_lim Exp $
+
+inherit java-pkg
+USE="oracle servlet-2.3 servlet-2.4 dbcp jboss jta jmx struts jikes"
+DESCRIPTION="Quartz Scheduler from OpenSymphony"
+HOMEPAGE="http://www.opensymphony.com/quartz/"
+SRC_URI="mirror://sourceforge/quartz/${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=">=virtual/jdk-1.4
+ oracle? ( =dev-java/jdbc2-oracle-9.2.0.3 )
+ servlet-2.3? ( =dev-java/servletapi-2.3-r1 )
+ servlet-2.4? ( =dev-java/servletapi-2.4 )
+ dbcp? ( =dev-java/commons-dbcp-1.1 )
+ jboss? ( =net-www/jboss-3.2.3 )
+ jta? ( =dev-java/jta-1.0.1 )
+ jmx? ( =dev-java/jmx-1.2.1 )
+ struts? ( =dev-java/struts-1.1 )
+ jikes? ( dev-java/jikes )"
+
+S=${WORKDIR}/${P}
+
+src_compile() {
+ local antflags="jar"
+ use doc && antflags="${antflags} javadoc"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+
+ use servlet-2.3 && CLASSPATH="$CLASSPATH:`java-config -p servletapi-2.3`"
+ use servlet-2.4 && CLASSPATH="$CLASSPATH:`java-config -p servletapi-2.4`"
+ use dbcp && CLASSPATH="$CLASSPATH:`java-config -p commons-dbcp`"
+ use jta && CLASSPATH="$CLASSPATH:`java-config -p jta`"
+ use oracle && cp /usr/share/jdbc2-oracle-9.2.0.3/lib/classes12.zip ${S}/lib
+ if [ `use jboss` ]; then
+ echo "Using jboss"
+ cp /usr/share/jboss/lib/jboss-common.jar ${S}/lib
+ cp /usr/share/jboss/lib/jboss-jmx.jar ${S}/lib
+ cp /usr/share/jboss/lib/jboss-system.jar ${S}/lib
+ cp /var/lib/jboss/default/lib/jboss.jar ${S}/lib
+ antflags="${antflags} -Dlib.jboss-common.jar=/usr/share/jboss/lib/jboss-common.jar"
+ antflags="${antflags} -Dlib.jboss-jmx.jar=/usr/share/jboss/lib/jboss-jmx.jar"
+ antflags="${antflags} -Dlib.jboss-system.jar=/usr/share/jboss/lib/jboss-system.jar"
+ antflags="${antflags} -Dlib.jboss.jar=/var/lib/jboss/default/lib/jboss.jar"
+ fi
+ use struts && cp /usr/share/struts/lib/struts.jar ${S}/lib
+
+ ant ${antflags} || die "compile failed"
+}
+
+
+src_install() {
+ java-pkg_dojar lib/quartz.jar
+ use doc && dohtml -r docs/
+}