aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2020-11-11 13:25:17 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2020-11-11 13:25:17 +0000
commit8d2973f3fb99b4492b4061095647e5545a668060 (patch)
tree110844316fb9a41fb6e4563dc16354b78d70b131
parentf0f6c6ba569942f003b6be7571db4baaf3bf8b4e (diff)
downloadaports-8d2973f3fb99b4492b4061095647e5545a668060.tar.gz
aports-8d2973f3fb99b4492b4061095647e5545a668060.tar.bz2
aports-8d2973f3fb99b4492b4061095647e5545a668060.tar.xz
main/sofia-sip: new aport
New dependency of Freeswitch. sofia-sip is no longer part of main Freeswitch tree, but is provided as external package.
-rw-r--r--main/sofia-sip/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/main/sofia-sip/APKBUILD b/main/sofia-sip/APKBUILD
new file mode 100644
index 0000000000..0b5b241daf
--- /dev/null
+++ b/main/sofia-sip/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=sofia-sip
+pkgver=1.13.2
+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="55d1f9d3310685047f4464d382d190f58b101c99c8ff1f648af76cae16016924a8b0165a734ad2e61108e553e83080f3b7677f5cccf21b28885e4bf74a58adb9 sofia-sip-1.13.2.tar.gz"