blob: cbf19e609981fe24249e0d84b28959a8b745b356 (
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
32
33
34
35
36
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=sngrep
pkgver=1.4.3
pkgrel=1
pkgdesc="A tool for displaying SIP call message flows from a terminal"
url="https://github.com/irontec/sngrep"
arch="all"
license="GPL"
depends="sed"
makedepends="autoconf automake ncurses-dev libpcap-dev pcre-dev libressl-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.zip::https://github.com/irontec/$pkgname/archive/v$pkgver.zip"
builddir="$srcdir"/$pkgname-$pkgver
check() {
cd "$builddir"
make check
}
build() {
cd "$builddir"
./bootstrap.sh
./configure --prefix=/usr \
--with-openssl \
--with-pcre \
--enable-ipv6
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir/" install
}
sha512sums="8eb9c4f4efd128803cbf01b211591d25c652aaac7f3346c9a8b3e0c4932b0c82e73508e6244acd78bfb6c55a0e2d9c86ad5c5642139e7e92f228a38acf093425 sngrep-1.4.3.zip"
|