diff options
author | Lim Swee Tat <st_lim@gentoo.org> | 2004-05-20 16:41:24 +0000 |
---|---|---|
committer | Lim Swee Tat <st_lim@gentoo.org> | 2004-05-20 16:41:24 +0000 |
commit | c34e935cff2a0a19da38c61c9263de250507aaf2 (patch) | |
tree | 02dc0abb7e77de675ffd0d468f8d765af314a022 /dev-java/quartz | |
parent | Adding in the multilib patch for amd64 (Manifest recommit) (diff) | |
download | gentoo-2-c34e935cff2a0a19da38c61c9263de250507aaf2.tar.gz gentoo-2-c34e935cff2a0a19da38c61c9263de250507aaf2.tar.bz2 gentoo-2-c34e935cff2a0a19da38c61c9263de250507aaf2.zip |
Initial commit
Diffstat (limited to 'dev-java/quartz')
-rw-r--r-- | dev-java/quartz/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/quartz/Manifest | 2 | ||||
-rw-r--r-- | dev-java/quartz/files/digest-quartz-1.3.4 | 1 | ||||
-rw-r--r-- | dev-java/quartz/metadata.xml | 6 | ||||
-rw-r--r-- | dev-java/quartz/quartz-1.3.4.ebuild | 57 |
5 files changed, 76 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..1a057454551d --- /dev/null +++ b/dev-java/quartz/Manifest @@ -0,0 +1,2 @@ +MD5 52104a71ebbf6afd621f0ecec29a65e1 quartz-1.3.4.ebuild 1514 +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/ +} |