# Copyright 1999-2004 Gentoo Foundation # 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.12 2004/06/24 21:28:19 agriffis Exp $ inherit eutils MY_P=jakarta-${P} S=${WORKDIR}/${MY_P} DOWNLOAD="v1.8/${MY_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}" LICENSE="Apache-1.1" SLOT="0" KEYWORDS="-* x86" IUSE="doc" DEPEND=">=dev-java/sun-jdk-1.3.1" RDEPEND=">=dev-java/sun-jdk-1.3.1" src_compile () { epatch ${FILESDIR}/${P}-gentoo.diff } src_install () { 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/* }