aboutsummaryrefslogblamecommitdiffstats
path: root/main/sipp/APKBUILD
blob: ca9f2fb2c4118722c0eacdbc25a9e9b1c934622e (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                               
                                                     

                                                              

            
                                                              
                                  
          
                          

              
                                                                                                  

              
                                                                                   
         
 
                                   

         

                                        


                                   
                           
            


           
                      


                                                               

 
                                                                                                                                                                
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Contributor: Robert Boisvert <rdboisvert@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=sipp
pkgver=3.5.2
pkgrel=0
pkgdesc="A test tool / traffic generator for the SIP protocol"
url="https://github.com/SIPp/sipp"
arch="all"
license="GPL-2.0-or-later"
depends=""
depends_dev=""
makedepends="linux-headers autoconf automake openssl-dev libpcap-dev ncurses-dev lksctp-tools-dev"
install=""
subpackages=""
source="https://github.com/SIPp/sipp/releases/download/v$pkgver/sipp-$pkgver.tar.gz
	"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	CFLAGS="$CFLAGS -D_GNU_SOURCE" \
	./configure --prefix=/usr \
		--with-openssl \
		--with-pcap \
		--with-sctp
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	mkdir -p "$pkgdir"/usr/share/"$pkgname"
	install -m444 -D pcap/* "$pkgdir"/usr/share/"$pkgname"/
}

sha512sums="8285d29afa4c9d6a2396e2352d1442e64c649fcd9cc524e221e22246da49c21cab73128ca6b806aa76bd78598f8f5cbc4a23ee58c5d7ab09035655306adfa725  sipp-3.5.2.tar.gz"