mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
48 lines
1013 B
Plaintext
48 lines
1013 B
Plaintext
# Contributor: Thomas Deutsch <thomas@tuxpeople.org>
|
|
# Maintainer: Thomas Deutsch <thomas@tuxpeople.org>
|
|
pkgname=dnsperf
|
|
pkgver=2.14.0
|
|
pkgrel=0
|
|
pkgdesc="Dnsperf and resperf gather accurate latency and throughput metrics for DNS"
|
|
url="https://www.dns-oarc.net/tools/dnsperf"
|
|
arch="all"
|
|
license="Apache-2.0"
|
|
makedepends="
|
|
ck-dev
|
|
fstrm-dev
|
|
json-c-dev
|
|
krb5-dev
|
|
ldns-dev
|
|
libcap-dev
|
|
libxml2-dev
|
|
nghttp2-dev
|
|
openssl-dev
|
|
protobuf-c-dev
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="https://www.dns-oarc.net/files/dnsperf/dnsperf-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
CFLAGS="$CFLAGS -flto=auto -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L" \
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
ebca70071a07b2f5b2a07866c22aa9f459981f70be06047ada760bf7e53bf44c355cf964674483ce5eae736a64b9061d773a44e8c46f956525d29144ca48a9fd dnsperf-2.14.0.tar.gz
|
|
"
|