New package: apache-jmeter-5.1.1
This commit is contained in:
parent
d945240115
commit
6ac7127587
|
@ -0,0 +1 @@
|
|||
apache-jmeter
|
|
@ -0,0 +1,42 @@
|
|||
# Template file for 'apache-jmeter'
|
||||
pkgname=apache-jmeter
|
||||
version=5.1.1
|
||||
revision=1
|
||||
hostmakedepends="openjdk 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
|
||||
|
||||
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_description+=" - 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
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue