aboutsummaryrefslogblamecommitdiffstats
path: root/main/iperf/APKBUILD
blob: ecc5c6f0056c5e90ff183ee757b0e1b0401fdd52 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                               
                                                   
             

            

                                                       
                 
             

            
        
                          









                                                                          
 
 


                                      

 
                                                              
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iperf
pkgver=2.0.5
pkgrel=0
pkgdesc="tool to measure IP bandwidth using UDP or TCP"
url="http://iperf.sourceforge.net/"
arch="x86 x86_64"
license="GPL"
depends=
makedepends=
install=
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	cd "$srcdir"/$pkgname-$pkgver

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install
}

md5sums="44b5536b67719f4250faed632a3cd016  iperf-2.0.5.tar.gz"