Skip to content
Snippets Groups Projects
Commit aef17e85 authored by Leo's avatar Leo Committed by Kevin Daudt
Browse files

testing/tsung: modernize

Closes GH-8097
parent 91f0070b
No related branches found
No related tags found
No related merge requests found
......@@ -3,44 +3,36 @@
pkgname=tsung
pkgver=1.7.0
pkgrel=2
pkgrel=3
pkgdesc="Tsung is a high-performance benchmark framework for various protocols including HTTP,XMPP,LDAP,etc."
url="https://www.process-one.net/en/tsung/"
license="GPL-2.0"
options="!check" # Tests fail on CI
license="GPL-2.0-or-later"
arch="noarch !armhf !armv7"
depends="bash
erlang
erlang-crypto
erlang-inets
erlang-os-mon
erlang-sasl
erlang-xmerl
gnuplot
perl-template-toolkit
python2
py-matplotlib>=1.5.1-r3
"
makedepends="erlang
erlang-asn1
erlang-crypto
erlang-dev
erlang-eunit
erlang-inets
erlang-os-mon
erlang-snmp
erlang-ssl
erlang-tools
erlang-xmerl
perl
"
subpackages=""
erlang
erlang-crypto
erlang-inets
erlang-os-mon
erlang-sasl
erlang-xmerl
gnuplot
perl-template-toolkit
python2
py-matplotlib>=1.5.1-r3
"
makedepends="erlang-asn1
erlang-dev
erlang-eunit
erlang-snmp
erlang-ssl
erlang-tools
perl
"
source="$pkgname-$pkgver.tar.gz::https://github.com/processone/$pkgname/archive/v$pkgver.tar.gz
0005-Do-not-install-manpages-in-main-install.patch"
builddir="$srcdir/tsung-$pkgver"
0005-Do-not-install-manpages-in-main-install.patch"
build() {
cd "$builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
......@@ -51,12 +43,10 @@ build() {
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment