summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-07-10 08:32:00 +0000
committerAchim Gottinger <achim@gentoo.org>2001-07-10 08:32:00 +0000
commite70595e48ad8c99ede95d4308047487aefb4f5eb (patch)
tree5f73f95d6b91dd3ecd4879faf54cad92df7f1fc0 /net-www/cocoon
parent*** empty log message *** (diff)
downloadgentoo-2-e70595e48ad8c99ede95d4308047487aefb4f5eb.tar.gz
gentoo-2-e70595e48ad8c99ede95d4308047487aefb4f5eb.tar.bz2
gentoo-2-e70595e48ad8c99ede95d4308047487aefb4f5eb.zip
new version prepared for tomcat-3.2.2
Diffstat (limited to 'net-www/cocoon')
-rw-r--r--net-www/cocoon/cocoon-1.8.2.ebuild52
-rw-r--r--net-www/cocoon/files/digest-cocoon-1.8.21
2 files changed, 53 insertions, 0 deletions
diff --git a/net-www/cocoon/cocoon-1.8.2.ebuild b/net-www/cocoon/cocoon-1.8.2.ebuild
new file mode 100644
index 000000000000..0562d6091dab
--- /dev/null
+++ b/net-www/cocoon/cocoon-1.8.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-www/cocoon/cocoon-1.8.2.ebuild,v 1.1 2001/07/10 08:32:00 achim Exp $
+
+A=Cocoon-${PV}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="A Web Publishing Framework for Apache"
+SRC_URI="http://xml.apache.org/cocoon/dist/"${A}
+HOMEPAGE="http://xml.apache.org/cocoon/"
+
+DEPEND=">=dev-lang/jdk-1.2.2
+ >=dev-java/fesi-1
+ >=dev-java/xt-1
+ >=dev-java/jndi-1.2.1"
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_compile() {
+ CLASSPATH=/opt/java/src.jar:/opt/java/lib/tools.jar
+ CLASSPATH=${CLASSPATH}:/usr/lib/java/jndi.jar
+ CLASSPATH=${CLASSPATH}:/usr/lib/java/xt.jar:/usr/lib/java/sax.jar
+ CLASSPATH=${CLASSPATH}:/usr/lib/java/fesi.jar
+ export CLASSPATH
+ export JAVA_HOME=/opt/java
+ cd ${S}
+ sh build.sh
+}
+
+src_install() {
+ cd ${S}
+ insinto /opt/jakarta/cocoon/lib
+ for i in xerces_1_2 xalan_1_2_D02 fop_0_15_0 \
+ servlet_2_2 turbine-pool
+ do
+ doins lib/$i.jar
+ done
+ doins build/cocoon.jar
+ dodir /opt/jakarta/tomcat/webapps/cocoon/repository
+ insinto /opt/jakarta/tomcat/webapps/cocoon/WEB-INF
+ cp -a samples ${D}/opt/jakarta/tomcat/webapps/cocoon
+ doins ${FILESDIR}/cocoon.properties
+ doins ${FILESDIR}/web.xml
+ dodoc README LICENSE
+ dodir /usr/doc/${PF}/html
+ cp -a docs/* ${D}/usr/doc/${PF}/html
+ find ${D}/usr/doc/${PF}/html -type f -exec gzip -9 {} \;
+}
+
+
diff --git a/net-www/cocoon/files/digest-cocoon-1.8.2 b/net-www/cocoon/files/digest-cocoon-1.8.2
new file mode 100644
index 000000000000..f635fff1924f
--- /dev/null
+++ b/net-www/cocoon/files/digest-cocoon-1.8.2
@@ -0,0 +1 @@
+MD5 57fc25fcbc96f51cb684741651e94e30 Cocoon-1.8.2.tar.gz