aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dropwatch/APKBUILD
blob: a15e3d62ffec46d67309b01feddb32890f0d58bb (plain) (blame)
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
32
33
34
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=dropwatch
pkgver=1.5.3
pkgrel=0
pkgdesc="Project to detect packet drops in the Linux kernel"
url="https://github.com/nhorman/dropwatch"
arch="all"
license="GPL-2.0"
makedepends="autoconf automake libtool 
libnl3-dev libpcap-dev binutils-dev readline-dev
linux-headers bsd-compat-headers"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/nhorman/dropwatch/archive/v$pkgver.tar.gz"

prepare() {
	default_prepare
	./autogen.sh
}

build() {
	./configure --prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="098e464084ac3bc5509f5a523fe499ab54cca78ba53bebbcccd57a6c01260740c07e5b62b1218c6a62bf2147a74c056b3880dbbc92b3e11425efe8fe83af8878  dropwatch-1.5.3.tar.gz"