pentoo-overlay/dev-util/soapui/soapui-5.7.0.ebuild
2022-01-26 12:53:34 +08:00

36 lines
1,013 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="The Swiss-Army Knife for SOAP Testing"
HOMEPAGE="https://www.soapui.org/"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~x86"
SRC_URI="https://s3.amazonaws.com/downloads.eviware/soapuios/${PV}/SoapUI-${PV}-linux-bin.tar.gz"
RESTRICT="strip mirror"
RDEPEND=">=virtual/jre-1.6"
INSTALLDIR="/opt/SoapUI"
S="${WORKDIR}/SoapUI-${PV}"
src_install() {
# application
insinto ${INSTALLDIR}
doins -r Tutorials bin lib wsi-test-tools soapui-settings.xml
# binaries
chmod 755 "${D}/${INSTALLDIR}/bin/loadtestrunner.sh"
chmod 755 "${D}/${INSTALLDIR}/bin/mockservicerunner.sh"
chmod 755 "${D}/${INSTALLDIR}/bin/securitytestrunner.sh"
chmod 755 "${D}/${INSTALLDIR}/bin/soapui.sh"
chmod 755 "${D}/${INSTALLDIR}/bin/testrunner.sh"
chmod 755 "${D}/${INSTALLDIR}/bin/toolrunner.sh"
chmod 755 "${D}/${INSTALLDIR}/bin/wargenerator.sh"
# default docs
dodoc README.md
dodoc RELEASENOTES.txt
}