diff options
-rw-r--r-- | app-benchmarks/jmeter/ChangeLog | 13 | ||||
-rw-r--r-- | app-benchmarks/jmeter/files/digest-jmeter-2.0.1-r2 | 3 | ||||
-rw-r--r-- | app-benchmarks/jmeter/jmeter-2.0.1-r2.ebuild | 55 |
3 files changed, 68 insertions, 3 deletions
diff --git a/app-benchmarks/jmeter/ChangeLog b/app-benchmarks/jmeter/ChangeLog index baf71177011d..4c623dcdc9fa 100644 --- a/app-benchmarks/jmeter/ChangeLog +++ b/app-benchmarks/jmeter/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-benchmarks/jmeter -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/jmeter/ChangeLog,v 1.26 2006/08/05 21:42:43 nichoj Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/jmeter/ChangeLog,v 1.27 2007/05/05 20:48:29 betelgeuse Exp $ + +*jmeter-2.0.1-r2 (05 May 2007) + + 05 May 2007; Petteri Räty <betelgeuse@gentoo.org> + +jmeter-2.0.1-r2.ebuild: + Migrate to splitted ant, fix emerging with JAVA_PKG_STRICT and make + dependency on bsh optional via the beanshell use flag. 05 Aug 2006; Joshua Nichols <nichoj@gentoo.org> jmeter-2.0.1-r1.ebuild: Fixed dependencies to account for java-strict. @@ -10,7 +17,7 @@ Fix digests. 22 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> - +jmeter-2.0.1-r1.ebuild: + jmeter-2.0.1-r1.ebuild: Migrated to Generation 2. 13 Dec 2005; Joshua Nichols <nichoj@gentoo.org> jmeter-1.9.1.ebuild, diff --git a/app-benchmarks/jmeter/files/digest-jmeter-2.0.1-r2 b/app-benchmarks/jmeter/files/digest-jmeter-2.0.1-r2 new file mode 100644 index 000000000000..ce4afff4b58d --- /dev/null +++ b/app-benchmarks/jmeter/files/digest-jmeter-2.0.1-r2 @@ -0,0 +1,3 @@ +MD5 ba87b48f6054e03a8b0d4903dd80b4cb jakarta-jmeter-2.0.1_src.tgz 5368483 +RMD160 ec4db77dfd2205115e8206548da34db80dec24ea jakarta-jmeter-2.0.1_src.tgz 5368483 +SHA256 8dc7b0ff680af721adeeab198f7dc99f5e376df04c2504291564cfaccdcf5f36 jakarta-jmeter-2.0.1_src.tgz 5368483 diff --git a/app-benchmarks/jmeter/jmeter-2.0.1-r2.ebuild b/app-benchmarks/jmeter/jmeter-2.0.1-r2.ebuild new file mode 100644 index 000000000000..78c4da391beb --- /dev/null +++ b/app-benchmarks/jmeter/jmeter-2.0.1-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/jmeter/jmeter-2.0.1-r2.ebuild,v 1.1 2007/05/05 20:48:29 betelgeuse Exp $ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Load test and measure performance on HTTP/FTP services and databases." +HOMEPAGE="http://jakarta.apache.org/jmeter" +SRC_URI="mirror://apache/jakarta/jmeter/source/jakarta-${P}_src.tgz" +COMMON_DEP=" + beanshell? ( dev-java/bsh ) + >=dev-java/bsf-2.3 + dev-java/junit + dev-java/sun-javamail" +DEPEND=">=virtual/jdk-1.4 + doc? ( >=dev-java/velocity-1.4 ) + dev-java/ant-nodeps + ${COMMON_DEP}" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="beanshell doc" + +S=${WORKDIR}/jakarta-${P} + +src_unpack() { + unpack ${A} + cd "${S}/lib" + # FIXME replace all bundled jars bug #63309 + # then rm -f *.jar + use beanshell && java-pkg_jar-from bsh + java-pkg_jar-from bsf-2.3 + java-pkg_jar-from junit + java-pkg_jar-from sun-javamail +} + +src_compile() { + local tasks="ant-nodeps" + use doc && tasks="${tasks} velocity" + ANT_TASKS="${tasks}" eant package $(use_doc docs-all) || die "compile problem" +} + +src_install() { + DIROPTIONS="--mode=0775" + dodir /opt/${PN} + local dest="${D}/opt/${PN}/" + cp -pPR bin/ lib/ printable_docs/ "${dest}" + if use doc; then + cp -pPR printable_docs "${dest}" || die "Failed to install docs" + fi + dodoc README || die + use doc && java-pkg_dohtml -r docs/* +} |