blob: 0b21f3d306f668fd5488f23f9b08a614238dfd6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=dnstop
pkgver=20140915
pkgrel=6
pkgdesc="A DNS traffic capture utility"
url="http://dns.measurement-factory.com/tools/dnstop/"
arch="all"
license="BSD-3-Clause"
makedepends="libpcap-dev ncurses-dev"
subpackages="$pkgname-doc"
source="http://dns.measurement-factory.com/tools/dnstop/src/dnstop-$pkgver.tar.gz
musl-fix.patch
"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man
make
}
package() {
mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man8
make DESTDIR="$pkgdir" install
}
sha512sums="902cf96f7366983cae4bf684e44fbe12f6e982cee8ff489329e25e1a13de60870d356906a99fee56c6da2258c4a39074a504389549c6c2e239a4ea94d8b9a65d dnstop-20140915.tar.gz
8b1bcfb73f7acf8ab264f44a9fb3bb5bdc7b6beec3ea87ecf9d82898e83c5bd6e43bb12f6d72a9fe362c21210c4c2461c32bb23de03a938f20e2d7f0629f3a3d musl-fix.patch"
|