aboutsummaryrefslogtreecommitdiffstats
path: root/community/sngrep/APKBUILD
blob: ff4fc69491d8793fe7189eefcec2aac0fbb2a9e7 (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
35
36
37
38
39
40
41
42
43
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=sngrep
pkgver=1.4.8
pkgrel=0
pkgdesc="display SIP call message flows from a terminal"
url="https://github.com/irontec/sngrep"
arch="all !ppc64le"
license="GPL-3.0-or-later"
depends="sed"
makedepends="autoconf automake ncurses-dev libpcap-dev
	pcre-dev libgcrypt-dev openssl-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/irontec/sngrep/archive/v$pkgver.tar.gz
	disabled-not-working-tests.patch"

prepare() {
	default_prepare
	./bootstrap.sh
}

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--with-openssl \
		--with-pcre \
		--disable-logo \
		--enable-unicode \
		--enable-ipv6
	make
}

check() {
	make check
}

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

sha512sums="11082b93ab4e31710639663566729fbe6ee87f512bd767889dc43858489d5937bce00f16c6f4541ddaaaebcd29e37c85f1273ce08ce6bddeb33e17bac42a42d3  sngrep-1.4.8.tar.gz
89ba9d63fedb28bdb7e066f833811cb3155e5f1a73d2aa09595588326783543229a54f54b387df3161b9df37020fae46743d937855647bc974875a9c188dc989  disabled-not-working-tests.patch"