# Maintainer: Matthieu Monnier setglobal pkgname = 'qperf' setglobal pkgver = '0.4.9' setglobal pkgrel = '0' setglobal pkgdesc = '"Measuring network performance'" setglobal url = '"https://www.openfabrics.org'" setglobal arch = '"all'" setglobal makedepends = '"perl perl-doc'" setglobal subpackages = ""$pkgname-doc"" setglobal license = '"GPL2'" setglobal source = ""https://www.openfabrics.org/downloads/qperf/$pkgname-$pkgver.tar.gz"" setglobal builddir = ""$srcdir"/"$pkgname"-"$pkgver"" proc build { cd $builddir ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var || return 1 make || return 1 } proc package { cd $builddir make DESTDIR="$pkgdir" install || return 1 } setglobal md5sums = '"a9eea1953ee5379e57ae5fd7b09fecf2 qperf-0.4.9.tar.gz'" setglobal sha256sums = '"2300e75edffe95d4dfbe576eb5c2f0d0da3142b5e4a96fcd01b535d50a48f07c qperf-0.4.9.tar.gz'" setglobal sha512sums = '"da22c76686b62262381f774fa107d0ec3b0695128628c55ed945c53a20f0854411e6d2b15d431a98177ce5be8332d2a1e54429d3d81c4c22f160d07e992aab3c qperf-0.4.9.tar.gz'"