summaryrefslogtreecommitdiff
blob: 33fac18004d87daf0a03a73f9e259dd78ef74825 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/jmeter/jmeter-1.8.1.ebuild,v 1.4 2003/09/26 21:14:43 aliz Exp $

S=${WORKDIR}/${PN}-${PV}
P=jakarta-${PN}-${PV}
DOWNLOAD="v1.8/${P}.tgz"
DESCRIPTION="Load test and measure performance on HTTP/FTP services, and databases."
HOMEPAGE="http://jakarta.apache.org/jmeter/index.html"
SRC_URI="http://jakarta.apache.org/builds/jakarta-jmeter/release/${DOWNLOAD}"
DEPEND=">=dev-java/sun-jdk-1.3.1"
RDEPEND=">=dev-java/sun-jdk-1.3.1"
LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="x86 sparc ppc"
IUSE="doc"

src_compile () {
	cd ${WORKDIR}/${P}
	epatch ${FILESDIR}/${P}-gentoo.diff
}

src_install () {
	cd ${WORKDIR}/${P}
	DIROPTIONS="--mode=0775"
	dodir /opt/${PN}
	cp -ar bin/ lib/ ${D}/opt/${PN}/
	dobin jmeter jmeter-server
	dodoc LICENSE README
	use doc && dohtml -r docs/*
}