diff options
author | Achim Gottinger <achim@gentoo.org> | 2000-11-26 22:48:36 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2000-11-26 22:48:36 +0000 |
commit | 55e21e77ad88950c2dbbcfcbe8e189e553c31828 (patch) | |
tree | 5a7b1d957f000c4e2b09118c9d1fad80624086b5 /net-www/cocoon | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-55e21e77ad88950c2dbbcfcbe8e189e553c31828.tar.gz gentoo-2-55e21e77ad88950c2dbbcfcbe8e189e553c31828.tar.bz2 gentoo-2-55e21e77ad88950c2dbbcfcbe8e189e553c31828.zip |
*** empty log message ***
Diffstat (limited to 'net-www/cocoon')
-rw-r--r-- | net-www/cocoon/cocoon-1.8.ebuild | 51 | ||||
-rw-r--r-- | net-www/cocoon/files/digest-cocoon-1.8 | 1 |
2 files changed, 52 insertions, 0 deletions
diff --git a/net-www/cocoon/cocoon-1.8.ebuild b/net-www/cocoon/cocoon-1.8.ebuild new file mode 100644 index 000000000000..64ec1be9b389 --- /dev/null +++ b/net-www/cocoon/cocoon-1.8.ebuild @@ -0,0 +1,51 @@ +# 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.ebuild,v 1.1 2000/11/26 22:48:36 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 /usr/lib/java + for i in xerces_1_2 xalan_1_2_D02 fop_0_13_0 \ + servlet_2_2 stylebook-1.0-b2 turbine-pool + do + doins lib/$i.jar + done + doins build/cocoon.jar + insinto /opt/tomcat/webapps/ROOT + 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.8 b/net-www/cocoon/files/digest-cocoon-1.8 new file mode 100644 index 000000000000..389ffda60431 --- /dev/null +++ b/net-www/cocoon/files/digest-cocoon-1.8 @@ -0,0 +1 @@ +MD5 7fa79afbb60ab210752f34636c124dd1 Cocoon-1.8.tar.gz |