summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2000-08-25 15:10:24 +0000
committerAchim Gottinger <achim@gentoo.org>2000-08-25 15:10:24 +0000
commitf23f3dc8c55d5828a1b5879cc02052e498392410 (patch)
tree95027e824bfcfe28f51edb81e3adfe53c8149b2c /net-www
parent*** empty log message *** (diff)
downloadhistorical-f23f3dc8c55d5828a1b5879cc02052e498392410.tar.gz
historical-f23f3dc8c55d5828a1b5879cc02052e498392410.tar.bz2
historical-f23f3dc8c55d5828a1b5879cc02052e498392410.zip
*** empty log message ***
Diffstat (limited to 'net-www')
-rw-r--r--net-www/cocoon/cocoon-1.7.4.ebuild48
-rw-r--r--net-www/cocoon/files/digest-cocoon-1.7.41
2 files changed, 49 insertions, 0 deletions
diff --git a/net-www/cocoon/cocoon-1.7.4.ebuild b/net-www/cocoon/cocoon-1.7.4.ebuild
new file mode 100644
index 000000000000..ca9295a963df
--- /dev/null
+++ b/net-www/cocoon/cocoon-1.7.4.ebuild
@@ -0,0 +1,48 @@
+# 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.7.4.ebuild,v 1.1 2000/08/25 15:10:24 achim Exp $
+
+P=cocoon-1.7.4
+A=Cocoon-1.7.4.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/"
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_compile() {
+ CLASSPATH=/opt/java/src.jar:/opt/java/lib/tools.jar
+ CLASSPATH=${CLASSPATH}:/opt/java/lib/jndi.jar
+ CLASSPATH=${CLASSPATH}:/opt/java/lib/xt.jar:/opt/java/lib/sax.jar
+ CLASSPATH=${CLASSPATH}:/opt/java/lib/fesi.jar
+ export CLASSPATH
+ export JAVA_HOME=/opt/java
+ cd ${S}
+ sh build.sh
+ cd build/src
+ jar cf ../classes/cocoon.jar org WEB-INF
+}
+
+src_install() {
+ cd ${S}
+ insinto /opt/java/lib
+ for i in xerces_1_0_1 xalan_0_19_4 fop_0_12_1
+ do
+ doins lib/$i.jar
+ done
+ doins build/classes/cocoon.jar
+ insinto /opt/jakarta/tomcat/conf
+ doins ${O}/files/cocoon.properties
+ 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.7.4 b/net-www/cocoon/files/digest-cocoon-1.7.4
new file mode 100644
index 000000000000..b0b3e8ebdfd2
--- /dev/null
+++ b/net-www/cocoon/files/digest-cocoon-1.7.4
@@ -0,0 +1 @@
+MD5 184467d297cf7e876a54644af3cfe39f Cocoon-1.7.4.tar.gz