summaryrefslogtreecommitdiff
path: root/pcr/belle-sip/PKGBUILD
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2020-07-23 13:10:07 -0400
committerDavid P <megver83@parabola.nu>2020-07-23 13:10:07 -0400
commit58e67cd5942af3acee8c9e8ff58ae907fc12eed0 (patch)
tree2e630ade523a8ce97fe8e8e63365cbe17ce9614c /pcr/belle-sip/PKGBUILD
parentf7727cb9b557a1cd3ebccf01e0a378be00d1a145 (diff)
downloadabslibre-58e67cd5942af3acee8c9e8ff58ae907fc12eed0.tar.gz
abslibre-58e67cd5942af3acee8c9e8ff58ae907fc12eed0.tar.bz2
abslibre-58e67cd5942af3acee8c9e8ff58ae907fc12eed0.zip
addpkg: pcr/belle-sip 4.4.0-1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'pcr/belle-sip/PKGBUILD')
-rw-r--r--pcr/belle-sip/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/belle-sip/PKGBUILD b/pcr/belle-sip/PKGBUILD
new file mode 100644
index 000000000..3d5d1768a
--- /dev/null
+++ b/pcr/belle-sip/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: David P. <megver83@parabola.nu>
+
+pkgname=belle-sip
+pkgver=4.4.0
+pkgrel=1
+pkgdesc='A modern library implementing SIP (RFC3261) transport, transaction and dialog layers'
+arch=(x86_64 i686)
+url='http://linphone.org/'
+license=(GPL)
+depends=(avahi bctoolbox)
+makedepends=(cmake)
+options=('!emptydirs')
+source=("https://gitlab.linphone.org/BC/public/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('4f9218b0bbf55c2f68d70a0e83779e591ef9fe97f1caf7550768ea192ee34cee')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DENABLE_STATIC=NO \
+ -DENABLE_MDNS=YES \
+ -DENABLE_STRICT=YES \
+ -DENABLE_TESTS=NO .
+ make
+}
+
+package() {
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+}