aboutsummaryrefslogblamecommitdiffstats
path: root/community/sngrep/APKBUILD
blob: daf7c832f7bfc074bc17a522ac9a95e65ee528c3 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                           
            
        

                                                                      
                   
                          
             
                                                      
                                           
                          
                                                                                    
                                
 

                       
                      


         

                               
                                   
                                
                             
                                
                             
            

 
         


                  
           


                                       

                                                                                                                                                              
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=sngrep
pkgver=1.4.6
pkgrel=2
pkgdesc="A tool for displaying 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.zip::https://github.com/irontec/sngrep/archive/v$pkgver.zip
	stdin-reopen-musl.patch"

prepare() {
	default_prepare
	./bootstrap.sh
}

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

check() {
	make check
}

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

sha512sums="94139511d12bd8ce9b133670f8e5850759be91207a659e69601c9811f07b7ad6eded567490f109736d0a6cf5b29f89e910c880ee7d5509cd2f18397b5ea1fdc9  sngrep-1.4.6.zip
ce23fa094bb8905325fde8ffa6d8713c170e30c953a5d452ffe6d9e8e21bfbb53e48e0af776d19c3ed97baee7798d5ee90ec7c4557d49c3bd6754edbcec93625  stdin-reopen-musl.patch"