# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/tho/var/cvsroot/tho/src/gentoo/var/portage/net-www/jboss/jboss-3.0.2.ebuild,v 1.1 2002/11/30 10:43:35 tho Exp $ DESCRIPTION="Data binding framework for Java" SRC_URI="ftp://ftp.exolab.org/pub/castor/castor_${PV}/castor-${PV}-src.tgz" HOMEPAGE="http://castor.exolab.org/" #LICENSE="" ARCH="~x86" SLOT="${PV}" DEPEND=">=virtual/jdk-1.3 >=dev-java/ant-1.4 dev-java/java-getopt dev-java/concurrent" INSTALL_DIR=/usr/lib/castor-${PV} #OUTPUT_DIR=${S}/build/output/jboss-3.0.3RC1 src_compile() { # DOS-style newlines causes problems here tr -d '\r' < build.sh > build.sh.new && mv build.sh.new build.sh sh build.sh doc api jar || die } src_install() { einfo ">>> Installing libraries..." insinto ${INSTALL_DIR}/lib dojar dist/* einfo ">>> Installing documentation..." dohtml -a html,htm,png,gif,css,dtd,xsd,pdf -r build/doc/* }