2019-07-31 19:21:21 +00:00
|
|
|
# Template file for 'apache-jmeter'
|
|
|
|
pkgname=apache-jmeter
|
|
|
|
version=5.1.1
|
2019-12-21 15:46:32 +00:00
|
|
|
revision=2
|
2019-11-25 22:02:44 +00:00
|
|
|
hostmakedepends="openjdk8 apache-ant"
|
2019-07-31 19:21:21 +00:00
|
|
|
depends="virtual?java-runtime"
|
|
|
|
short_desc="Application to load test functional behavior and measure performance"
|
|
|
|
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
|
|
|
|
license="Apache-2.0"
|
|
|
|
homepage="https://jmeter.apache.org/"
|
|
|
|
distfiles="http://apache.osuosl.org//jmeter/source/apache-jmeter-${version}_src.tgz"
|
|
|
|
checksum=133fee3ccc300c759b5fbba4dd870db8e69aa0f72eca080fb37a8fb56c6caf6b
|
2019-11-26 12:50:04 +00:00
|
|
|
broken="http://apache.osuosl.org//jmeter/source/apache-jmeter-5.1.1_src.tgz: Not Found"
|
2019-07-31 19:21:21 +00:00
|
|
|
|
|
|
|
do_configure() {
|
|
|
|
ant download_jars
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
ant install
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
rm -Rf src test build bin/testfiles
|
|
|
|
|
|
|
|
vlicense LICENSE
|
|
|
|
vmkdir /usr/libexec/apache-jmeter
|
|
|
|
vcopy . /usr/libexec/apache-jmeter
|
|
|
|
|
|
|
|
vmkdir /usr/bin
|
|
|
|
ln -s /usr/libexec/apache-jmeter/bin/jmeter ${DESTDIR}/usr/bin/jmeter
|
|
|
|
}
|
|
|
|
|
|
|
|
apache-jmeter-doc_package() {
|
|
|
|
archs=noarch
|
2019-12-21 15:46:32 +00:00
|
|
|
short_desc+=" - documentation"
|
2019-07-31 19:21:21 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove /usr/libexec/apache-jmeter/xdocs
|
|
|
|
vmove /usr/libexec/apache-jmeter/docs
|
|
|
|
vmove /usr/libexec/apache-jmeter/printable_docs
|
|
|
|
}
|
|
|
|
}
|