summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2007-11-20 05:21:30 +0000
committerAlistair Bush <ali_bush@gentoo.org>2007-11-20 05:21:30 +0000
commit87e7dc8cfb72e66ea8da8cd98bcbd8fa5bae7039 (patch)
tree1a8dc5368eb5ae0923869ffaa978e6c90f6129d0 /app-benchmarks/jmeter
parentMasking more migrated java-virtuals/javamail packages (diff)
downloadgentoo-2-87e7dc8cfb72e66ea8da8cd98bcbd8fa5bae7039.tar.gz
gentoo-2-87e7dc8cfb72e66ea8da8cd98bcbd8fa5bae7039.tar.bz2
gentoo-2-87e7dc8cfb72e66ea8da8cd98bcbd8fa5bae7039.zip
Bumping to support javamail virtual.
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-benchmarks/jmeter')
-rw-r--r--app-benchmarks/jmeter/ChangeLog7
-rw-r--r--app-benchmarks/jmeter/files/digest-jmeter-2.0.1-r33
-rw-r--r--app-benchmarks/jmeter/jmeter-2.0.1-r3.ebuild56
3 files changed, 65 insertions, 1 deletions
diff --git a/app-benchmarks/jmeter/ChangeLog b/app-benchmarks/jmeter/ChangeLog
index d96b3d17a41b..ffcbdff2b4bf 100644
--- a/app-benchmarks/jmeter/ChangeLog
+++ b/app-benchmarks/jmeter/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-benchmarks/jmeter
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/jmeter/ChangeLog,v 1.30 2007/08/29 13:58:36 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/jmeter/ChangeLog,v 1.31 2007/11/20 05:21:29 ali_bush Exp $
+
+*jmeter-2.0.1-r3 (20 Nov 2007)
+
+ 20 Nov 2007; <alistair@gentoo.org> +jmeter-2.0.1-r3.ebuild:
+ Bumping to support javamail virtual.
29 Aug 2007; Petteri Räty <betelgeuse@gentoo.org> -jmeter-1.9.1.ebuild:
Remove generation 1 ebuild.
diff --git a/app-benchmarks/jmeter/files/digest-jmeter-2.0.1-r3 b/app-benchmarks/jmeter/files/digest-jmeter-2.0.1-r3
new file mode 100644
index 000000000000..ce4afff4b58d
--- /dev/null
+++ b/app-benchmarks/jmeter/files/digest-jmeter-2.0.1-r3
@@ -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-r3.ebuild b/app-benchmarks/jmeter/jmeter-2.0.1-r3.ebuild
new file mode 100644
index 000000000000..6d0f9620189d
--- /dev/null
+++ b/app-benchmarks/jmeter/jmeter-2.0.1-r3.ebuild
@@ -0,0 +1,56 @@
+# 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-r3.ebuild,v 1.1 2007/11/20 05:21:29 ali_bush 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
+ java-virtuals/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 --virtual javamail
+ java-pkg_filter-compiler jikes
+}
+
+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 && dohtml -r docs/*
+}