2021-03-24 10:35:08 +00:00

35 lines
868 B
Plaintext

# 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"