diff options
Diffstat (limited to 'dev-java/exolabcore/exolabcore-0.3.7_p20050205.ebuild')
-rw-r--r-- | dev-java/exolabcore/exolabcore-0.3.7_p20050205.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/dev-java/exolabcore/exolabcore-0.3.7_p20050205.ebuild b/dev-java/exolabcore/exolabcore-0.3.7_p20050205.ebuild new file mode 100644 index 000000000000..4c979fce0524 --- /dev/null +++ b/dev-java/exolabcore/exolabcore-0.3.7_p20050205.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/exolabcore/exolabcore-0.3.7_p20050205.ebuild,v 1.1 2005/02/06 00:43:49 luckyduck Exp $ + +inherit eutils java-pkg + +MY_P=${P/-0.3.7_p/-} + +DESCRIPTION="Exolab Build Tools" +HOMEPAGE="http://cvs.sourceforge.net/viewcvs.py/openjms/tools/" +SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" + +LICENSE="Exolab" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc jikes" + +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + jikes? ( dev-java/jikes )" +RDEPEND=">=virtual/jre-1.4 + dev-java/cdegroot-db + dev-java/commons-cli + dev-java/commons-logging + dev-java/exolabtools + dev-java/log4j + dev-java/oro + =dev-java/xerces-1.3*" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + + cd ${S}/src + epatch ${FILESDIR}/${P}-buildfile.patch + + cd ${S}/lib + java-pkg_jar-from cdegroot-db-1 + java-pkg_jar-from commons-cli-1 + java-pkg_jar-from commons-logging + java-pkg_jar-from exolabtools + java-pkg_jar-from log4j + java-pkg_jar-from oro + java-pkg_jar-from xerces-1.3 +} + +src_compile() { + cd ${S}/src + + local antflags="jar" + use doc && antflags="${antflags} javadoc" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "ant failed" +} + +src_install() { + mv dist/${PN}-0.3.7.jar ${PN}.jar + java-pkg_dojar ${PN}.jar + + use doc && java-pkg_dohtml -r build/doc/* +} |