diff options
author | Simon Gomizelj | 2015-07-16 17:30:53 -0400 |
---|---|---|
committer | Simon Gomizelj | 2015-07-16 17:30:53 -0400 |
commit | 9b40bf79cfe4ba7e9895452355bb047bc610ee45 (patch) | |
tree | af5ba16f8f2f4921fd176508515c8ae6f3b26a76 | |
download | aur-9b40bf79cfe4ba7e9895452355bb047bc610ee45.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 43 |
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3eeaf615f5d2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = sipp-git + pkgdesc = A free open source test tool and traffic generator for the SIP protocol + pkgver = 3.5.0.rc1.130.g81e68f8 + pkgrel = 1 + url = http://github.com/sipp + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = git + depends = openssl + depends = libpcap + source = git+http://github.com/sipp/sipp + md5sums = SKIP + +pkgname = sipp-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..65eeba10a3a6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Simon Gomizelj <sgomizelj@sangoma.com> + +pkgname=sipp-git +pkgver=3.5.0.rc1.130.g81e68f8 +pkgrel=1 +pkgdesc="A free open source test tool and traffic generator for the SIP protocol" +arch=('i686' 'x86_64') +url="http://github.com/sipp" +license=('GPL2') +source=("git+http://github.com/sipp/sipp") +depends=('openssl' 'libpcap') +makedepends=('git') +md5sums=('SKIP') + +pkgver() { + cd "sipp" + git describe --tags | sed 's/^v//;s/-/./g' +} + +prepare() { + cd "sipp" + git submodule update --init +} + +build() { + cd "sipp" + autoreconf -vifs + ./configure --prefix=/usr \ + --with-openssl \ + --with-pcap + + make + make sipp sipp_unittest +} + +check() { + cd "sipp" + ./sipp_unittest +} + +package() { + make -C "sipp" DESTDIR="$pkgdir" install +} |