blob: 5a02015bedbde56efc4996187f1199a462703a04 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=sofia-sip
pkgver=1.13.4
pkgrel=0
pkgdesc="RFC3261 compliant SIP User-Agent library"
url="https://github.com/freeswitch/sofia-sip"
arch="all"
license="LGPL-2.1-only"
options="!check" #tests are broken
makedepends="automake autoconf libtool m4
glib-dev openssl-dev lksctp-tools-dev"
checkdepends="check-dev"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/freeswitch/sofia-sip/archive/v$pkgver.tar.gz"
prepare() {
default_prepare
sh autogen.sh
}
build() {
./configure \
--prefix=/usr \
--with-openssl \
--enable-sctp \
--enable-static=no \
--disable-rpath
make
}
check() {
TPORT_DEBUG=9 TPORT_TEST_HOST=0.0.0.0 make check
}
package() {
make DESTDIR="$pkgdir" install
}
doc() {
default_doc
make doxygen
}
sha512sums="
bec89cedcb0c259b9a938f35cbf1bd4192f64805df7eef864b2efce63f07ba40b26fbaa74ff8028ebb11c500630913888f67e0123082974edbf1af17d4d78a72 sofia-sip-1.13.4.tar.gz
"
|