aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tsung/APKBUILD
blob: 63958ec1a2380c6156465d3dca32f5d1a8a3e78b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Contributor: Michael Truog <mjtruog@gmail.com>
# Maintainer: Michael Truog <mjtruog@gmail.com>

pkgname=tsung
pkgver=1.7.0
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/"
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-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"

build() {
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--host="$CHOST" \
		--build="$CBUILD"
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="63ec9b7b2f0a9fafde8182160b55513526009be056c6715ecff8dbeb40ab05f55d264f8f79e22b8987c6019c0b7eed9ac4e0e71792ad4cad67c758e64257c1d5  tsung-1.7.0.tar.gz
ee80c21fe6a66c96b1aa68afd96209516a5a3fe1d51a1ee01a1f465d164c332bbe30f03de1cc20f3d6e0651770fa7e579d64f52d282b64d6ca02d098852f2a93  0005-Do-not-install-manpages-in-main-install.patch"