summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-07-17 11:14:12 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-07-17 11:14:12 +0000
commitf3b09c0b74330d2d3f2a9417f4346ed4054d55a9 (patch)
tree84df8f8e61f05f27668983621b77d64e1b56c389 /app-benchmarks/jmeter
parentppc crap, not base-system (diff)
downloadgentoo-2-f3b09c0b74330d2d3f2a9417f4346ed4054d55a9.tar.gz
gentoo-2-f3b09c0b74330d2d3f2a9417f4346ed4054d55a9.tar.bz2
gentoo-2-f3b09c0b74330d2d3f2a9417f4346ed4054d55a9.zip
dep/style fixes
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'app-benchmarks/jmeter')
-rw-r--r--app-benchmarks/jmeter/jmeter-1.9.1.ebuild6
-rw-r--r--app-benchmarks/jmeter/jmeter-2.0.1-r1.ebuild13
-rw-r--r--app-benchmarks/jmeter/jmeter-2.0.1.ebuild15
3 files changed, 20 insertions, 14 deletions
diff --git a/app-benchmarks/jmeter/jmeter-1.9.1.ebuild b/app-benchmarks/jmeter/jmeter-1.9.1.ebuild
index 43e47c868fcb..57d514079ed6 100644
--- a/app-benchmarks/jmeter/jmeter-1.9.1.ebuild
+++ b/app-benchmarks/jmeter/jmeter-1.9.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/jmeter/jmeter-1.9.1.ebuild,v 1.7 2005/01/01 12:04:33 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/jmeter/jmeter-1.9.1.ebuild,v 1.8 2005/07/17 11:14:12 axxo Exp $
inherit java-pkg
@@ -10,7 +10,7 @@ SRC_URI="mirror://apache/jakarta/jmeter/source/jakarta-${P}.src.tgz"
DEPEND=">=virtual/jdk-1.3
dev-java/ant
jikes? ( dev-java/jikes )"
-RDEPEND=">=virtual/jdk-1.3"
+RDEPEND=">=virtual/jre-1.3"
LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="x86"
@@ -25,7 +25,7 @@ src_compile () {
ant ${antflags} || die "build failed"
}
-src_install () {
+src_install() {
# Can't think of a better way to deal with this for now...
DIROPTIONS="--mode=0775"
dodir /opt/${PN}
diff --git a/app-benchmarks/jmeter/jmeter-2.0.1-r1.ebuild b/app-benchmarks/jmeter/jmeter-2.0.1-r1.ebuild
index d1bdba554c01..adfee71fada6 100644
--- a/app-benchmarks/jmeter/jmeter-2.0.1-r1.ebuild
+++ b/app-benchmarks/jmeter/jmeter-2.0.1-r1.ebuild
@@ -1,14 +1,13 @@
# Copyright 1999-2005 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-r1.ebuild,v 1.8 2005/04/04 15:02:55 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/jmeter/jmeter-2.0.1-r1.ebuild,v 1.9 2005/07/17 11:14:12 axxo Exp $
inherit java-pkg
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"
-DEPEND=">=virtual/jdk-1.3
- dev-java/ant
+RDEPEND=">=virtual/jre-1.3
dev-java/commons-logging
=dev-java/commons-httpclient-2*
dev-java/commons-collections
@@ -22,7 +21,9 @@ DEPEND=">=virtual/jdk-1.3
dev-java/soap
dev-java/jtidy
doc? ( >=dev-java/velocity-1.4 )"
-RDEPEND=">=virtual/jdk-1.3"
+DEPEND=">=virtual/jdk-1.3
+ ${RDEPEND}
+ dev-java/ant"
LICENSE="Apache-2.0"
SLOT="0"
#bug 63309
@@ -48,7 +49,7 @@ src_unpack() {
java-pkg_jar-from jtidy
rm -f jorphan.jar
}
-src_compile () {
+src_compile() {
local antflags="package"
use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
use doc && antflags="${antflags} docs-all"
@@ -56,7 +57,7 @@ src_compile () {
ant ${antflags} || die "compile problem"
}
-src_install () {
+src_install() {
DIROPTIONS="--mode=0775"
dodir /opt/${PN}
cp -ar bin/ lib/ printable_docs/ ${D}/opt/${PN}/
diff --git a/app-benchmarks/jmeter/jmeter-2.0.1.ebuild b/app-benchmarks/jmeter/jmeter-2.0.1.ebuild
index 9d0508f3d9ca..4dfb6abdb53a 100644
--- a/app-benchmarks/jmeter/jmeter-2.0.1.ebuild
+++ b/app-benchmarks/jmeter/jmeter-2.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 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.ebuild,v 1.5 2005/01/01 12:04:33 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/jmeter/jmeter-2.0.1.ebuild,v 1.6 2005/07/17 11:14:12 axxo Exp $
inherit java-pkg
@@ -11,7 +11,7 @@ DEPEND=">=virtual/jdk-1.3
dev-java/ant
doc? ( >=dev-java/velocity-1.4 )"
# jikes ( dev-java/jikes"
-RDEPEND=">=virtual/jdk-1.3"
+RDEPEND=">=virtual/jre-1.3"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~x86"
@@ -19,16 +19,21 @@ IUSE="doc" # jikes"
S=${WORKDIR}/jakarta-${P}
-src_compile () {
+src_unpack() {
+ unpack ${A}
+ cd ${S}/lib
+ use doc && java-pkg_jarfrom velocity
+}
+
+src_compile() {
local antflags="package"
#Does not compile with jikes, patches welcome at bugs.gentoo.org
#use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
use doc && antflags="${antflags} docs-all"
- use doc && cp /usr/share/velocity/lib/velocity-*.jar $S/lib
ant ${antflags} || die "compile problem"
}
-src_install () {
+src_install() {
DIROPTIONS="--mode=0775"
dodir /opt/${PN}
cp -ar bin/ lib/ printable_docs/ ${D}/opt/${PN}/