aboutsummaryrefslogblamecommitdiffstats
path: root/testing/tsung/APKBUILD
blob: 26a4a5f3be4fd1d954af49f4cb31e91b817ca9b4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                
            
        
                                                                                                             
                                           

                                   
                                         
             
              

                             

                                
         
             
                  

            
                                                                                               

                                                          

         





                                           
            


         
                 


           
                                      

 
                                                                                                                                                                

                                                                                                                                                                                    
# Contributor: Michael Truog <mjtruog@gmail.com>
# Maintainer: Michael Truog <mjtruog@gmail.com>

pkgname=tsung
pkgver=1.7.0
pkgrel=7
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 !mips !mips64"
depends="bash
	erlang
	gnuplot
	perl-template-toolkit
	python3
	py3-matplotlib>=1.5.1-r3
	"
makedepends="
	erlang-dev
	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
	support-python3.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
b105a692cba4168a364df92e2f2239f2a0bdd2018cedaba822bb3fc4159ed7a5fe20115dbeacdf016c8bc9f18797205372755a1bce9a2db59f989134077aa639  support-python3.patch"