aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sipp/APKBUILD
blob: 6e22d4e18721a76965d559d4bcf2ac9029a7891d (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=sipp
pkgver=3.2
pkgrel=0
pkgdesc="A test tool / traffic generator for the SIP protocol"
url="http://sipp.sourceforge.net/"
arch="all"
license="GPL2+"
depends=""
depends_dev=""
makedepends="openssl-dev libpcap-dev ncurses-dev"
install=""
subpackages=""
source="http://downloads.sourceforge.net/$pkgname/$pkgname.svn.tar.gz"
_builddir="$srcdir"/$pkgname.svn

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	install -m755 -D "$_builddir"/$pkgname \
		"$pkgdir"/usr/sbin/$pkgname || return 1
	rm -f "$pkgdir"/usr/lib/*.la
}

md5sums="2a3a60cb4317dcf8eb5482f6a955e4d0  sipp.svn.tar.gz"