From 069e2319802f14f4e76cefdc3f17a5910cbe8231 Mon Sep 17 00:00:00 2001 From: Thomas Matthijs Date: Sat, 30 Oct 2004 20:27:30 +0000 Subject: inital import, ebuild contributed by Dan --- dev-java/javassist/ChangeLog | 10 ++++++++ dev-java/javassist/Manifest | 2 ++ dev-java/javassist/files/digest-javassist-2.6 | 1 + dev-java/javassist/javassist-2.6.ebuild | 36 +++++++++++++++++++++++++++ dev-java/javassist/metadata.xml | 5 ++++ 5 files changed, 54 insertions(+) create mode 100644 dev-java/javassist/ChangeLog create mode 100644 dev-java/javassist/Manifest create mode 100644 dev-java/javassist/files/digest-javassist-2.6 create mode 100644 dev-java/javassist/javassist-2.6.ebuild create mode 100644 dev-java/javassist/metadata.xml diff --git a/dev-java/javassist/ChangeLog b/dev-java/javassist/ChangeLog new file mode 100644 index 000000000000..fe07dd61cb8d --- /dev/null +++ b/dev-java/javassist/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/javassist +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/javassist/ChangeLog,v 1.1 2004/10/30 20:27:30 axxo Exp $ + +*javassist-2.6 (30 Oct 2004) + + 30 Oct 2004; Thomas Matthijs +metadata.xml, + +javassist-2.6.ebuild: + inital import, ebuild contributed by Dan + diff --git a/dev-java/javassist/Manifest b/dev-java/javassist/Manifest new file mode 100644 index 000000000000..493ca199d48b --- /dev/null +++ b/dev-java/javassist/Manifest @@ -0,0 +1,2 @@ +MD5 723c78b16ad7a0bbac76a92b97f7b13f javassist-2.6.ebuild 925 +MD5 c04c68f317b36fc0ce724e3b003c1bf3 files/digest-javassist-2.6 63 diff --git a/dev-java/javassist/files/digest-javassist-2.6 b/dev-java/javassist/files/digest-javassist-2.6 new file mode 100644 index 000000000000..9843f2a2879a --- /dev/null +++ b/dev-java/javassist/files/digest-javassist-2.6 @@ -0,0 +1 @@ +MD5 2eb827840fb4d2fc0381bb34e6d1b8d2 javassist-2.6.zip 1143271 diff --git a/dev-java/javassist/javassist-2.6.ebuild b/dev-java/javassist/javassist-2.6.ebuild new file mode 100644 index 000000000000..abe85bf444ef --- /dev/null +++ b/dev-java/javassist/javassist-2.6.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/javassist/javassist-2.6.ebuild,v 1.1 2004/10/30 20:27:30 axxo Exp $ + +inherit java-pkg + +DESCRIPTION="Javassist makes Java bytecode manipulation simple." +SRC_URI="mirror://sourceforge/jboss/${P}.zip" +HOMEPAGE="http://www.csg.is.titech.ac.jp/~chiba/javassist/" +LICENSE="MPL-1.1" +SLOT="2" +KEYWORDS="~x86 ~amd64" +RDEPEND=">=virtual/jre-1.4" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + >=dev-java/ant-core-1.5 " +IUSE="doc jikes" +S=${WORKDIR} + +src_unpack() { + unpack ${A} + rm -rf work +} + +src_compile() { + local antflags="jar" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + use doc && antflags="${antflags} javadocs" + ant ${antflags} || die "failed to build" +} + +src_install() { + java-pkg_dojar ${PN}.jar + dodoc *.html + use doc && java-pkg_dohtml -r html/* +} diff --git a/dev-java/javassist/metadata.xml b/dev-java/javassist/metadata.xml new file mode 100644 index 000000000000..7303cef96964 --- /dev/null +++ b/dev-java/javassist/metadata.xml @@ -0,0 +1,5 @@ + + + + java + -- cgit v1.2.3-65-gdbad