diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-25 23:47:13 -0300 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-05-26 13:26:58 +0000 |
commit | aef17e85b3e6c1e2bfa743cbaed659c99f37a6a0 (patch) | |
tree | 5c020e6346898dd8784a8fcab041e1edee8ba493 | |
parent | 91f0070b940191ddf08eb94544b1696c7c48e850 (diff) | |
download | aports-aef17e85b3e6c1e2bfa743cbaed659c99f37a6a0.tar.bz2 aports-aef17e85b3e6c1e2bfa743cbaed659c99f37a6a0.tar.xz |
testing/tsung: modernize
Closes GH-8097
-rw-r--r-- | testing/tsung/APKBUILD | 56 |
1 files 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 } |