void-packages/srcpkgs/apache-jmeter/template
Paper Mountain Studio 03bee9decc fix descriptions
[skip ci]
2020-01-17 19:30:37 +01:00

43 lines
1.1 KiB
Bash

# Template file for 'apache-jmeter'
pkgname=apache-jmeter
version=5.1.1
revision=2
hostmakedepends="openjdk8 apache-ant"
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
broken="http://apache.osuosl.org//jmeter/source/apache-jmeter-5.1.1_src.tgz: Not Found"
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
short_desc+=" - documentation"
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
}
}