diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/iperf3/APKBUILD | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/main/iperf3/APKBUILD b/main/iperf3/APKBUILD index 0eda7dcd01..87b0a2a4ba 100644 --- a/main/iperf3/APKBUILD +++ b/main/iperf3/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=iperf3 _pkgname=iperf -pkgver=3.3 +pkgver=3.4 pkgrel=0 pkgdesc="A tool to measure IP bandwidth using UDP or TCP" url="https://github.com/esnet/iperf" @@ -19,14 +19,8 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/esnet/$_pkgname/archive/$pkg build-fixes.patch remove-pg-flags.patch " - builddir="$srcdir/$_pkgname-$pkgver" -check() { - cd "$builddir" - make check -} - build() { cd "$builddir" CFLAGS="$CFLAGS -D_GNU_SOURCE" @@ -40,17 +34,22 @@ build() { make -j1 } +check() { + cd "$builddir" + make check +} + package() { cd "$builddir" make DESTDIR="$pkgdir" install - install -D -m0755 "$srcdir"/$_pkgname.initd \ + install -Dm755 "$srcdir"/$_pkgname.initd \ "$pkgdir"/etc/init.d/$_pkgname - install -D -m0644 "$srcdir"/$_pkgname.confd \ + install -Dm644 "$srcdir"/$_pkgname.confd \ "$pkgdir"/etc/conf.d/$_pkgname } -sha512sums="f01f317f308301cc10abc6f592ba6e5172aa41d191d41927e2aa764210b8572126061d42c517ebda4b593a828ec545b1e04175f2f564999e124ad9a462acc342 iperf3-3.3.tar.gz +sha512sums="dacc1c02515d42276f810609eeeeb95c393222695e541917928f5373e4bc7033da93038a6ffa3898d00e39a47c6e4bdf02d08e39f429e9032f25912d723c71de iperf3-3.4.tar.gz 339fb04b41cce11e8ea8694d95c13af9c88e0d1143356d913ec810c9b11efa27212d585b5dcc49cc2eb860a6d8bc557092c8659d7d5cfe532c5afdb36f8eedf8 iperf.initd fb5e155fff568a72488cc1511d30358835a48bcce309f8f46d040160932b4a4ccb85040c27c60dee477900a25bd34c50eac21d1d0bea984b40faa401be2ba7e8 iperf.confd e544ae5545f6b8ff071a1344068f9ed2bec051eb82a3b53cfccda767ea915ecf2aff5f2bf91135cba62afdb1fd421298518fa0b08339c869a4d381b1e1d396dd build-fixes.patch |