From 922ae6ee64efcd2d05d1289ce170c7d281b858f8 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Wed, 17 Aug 2016 08:12:45 -0400 Subject: Add linphone related packages --- bctoolbox/PKGBUILD | 28 ++++++++++++++++++++++++++++ bcunit/PKGBUILD | 28 ++++++++++++++++++++++++++++ bzrtp/PKGBUILD | 28 ++++++++++++++++++++++++++++ ortp/PKGBUILD | 28 ++++++++++++++++++++++++++++ 4 files changed, 112 insertions(+) create mode 100644 bctoolbox/PKGBUILD create mode 100644 bcunit/PKGBUILD create mode 100644 bzrtp/PKGBUILD create mode 100644 ortp/PKGBUILD diff --git a/bctoolbox/PKGBUILD b/bctoolbox/PKGBUILD new file mode 100644 index 0000000..6188384 --- /dev/null +++ b/bctoolbox/PKGBUILD @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: +# Contributor: Guillaume Horel + +pkgname=bctoolbox +pkgver=0.2.0 +pkgrel=1 +pkgdesc="Utilities library for Belledonne Communications software" +arch=('i686' 'x86_64') +url="http://www.linphone.org/" +license=('GPL') +depends=() +makedepends=('bcunit') +source=("https://github.com/BelledonneCommunications/$pkgname/archive/$pkgver.tar.gz") +md5sums=('6c04712c62919a5fe200cf3377027c89') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake -DENABLE_TESTS_COMPONENT="OFF" -DCMAKE_INSTALL_LIBDIR="/usr/lib" -DCMAKE_INSTALL_PREFIX="/usr" "../$pkgname-$pkgver" + make +} + +package() { + cd "${srcdir}/build" + make DESTDIR="${pkgdir}" install +} diff --git a/bcunit/PKGBUILD b/bcunit/PKGBUILD new file mode 100644 index 0000000..0d17601 --- /dev/null +++ b/bcunit/PKGBUILD @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: +# Contributor: Guillaume Horel + +pkgname=bcunit +pkgver=3.0 +pkgrel=1 +pkgdesc="A fork of CUnit, a C unit testing framework" +arch=('i686' 'x86_64') +url="http://www.linphone.org/" +license=('GPL') +depends=() +makedepends=() +source=("https://github.com/BelledonneCommunications/$pkgname/archive/$pkgver.tar.gz") +md5sums=('98d9db1210623262a4365bd3381fb7d4') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake -DCMAKE_INSTALL_LIBDIR="/usr/lib" -DCMAKE_INSTALL_PREFIX="/usr" "../$pkgname-$pkgver" + make +} + +package() { + cd "${srcdir}/build" + make DESTDIR="${pkgdir}" install +} diff --git a/bzrtp/PKGBUILD b/bzrtp/PKGBUILD new file mode 100644 index 0000000..5ee4e99 --- /dev/null +++ b/bzrtp/PKGBUILD @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: +# Contributor: Guillaume Horel + +pkgname=bzrtp +pkgver=1.0.4 +pkgrel=1 +pkgdesc="Implementation of the ZRTP protocol" +arch=('i686' 'x86_64') +url="http://www.linphone.org/" +license=('GPL') +depends=('bctoolbox') +makedepends=('') +source=("https://github.com/BelledonneCommunications/$pkgname/archive/$pkgver.tar.gz") +md5sums=('0f36322012dd6cc248aa356555744a8e') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake -DENABLE_STATIC=NO -DCMAKE_INSTALL_LIBDIR="/usr/lib" -DCMAKE_INSTALL_PREFIX="/usr" "../$pkgname-$pkgver" + make +} + +package() { + cd "${srcdir}/build" + make DESTDIR="${pkgdir}" install +} diff --git a/ortp/PKGBUILD b/ortp/PKGBUILD new file mode 100644 index 0000000..5e96eeb --- /dev/null +++ b/ortp/PKGBUILD @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: +# Contributor: Andrea Scarpino +# Contributor: Jaroslaw Swierczynski +# Contributor: William Rea + +pkgname=ortp +pkgver=0.27.0 +pkgrel=1 +pkgdesc="A Real-time Transport Protocol (RTP) library" +arch=('i686' 'x86_64') +url="http://www.linphone.org/index.php/eng/code_review/ortp" +license=('GPL3') +depends=('glibc') +source=("https://github.com/BelledonneCommunications/$pkgname/archive/$pkgver.tar.gz") +sha1sums=('1cfc5ff9053b880fabad176722a97b301867ab7e') + +build() { + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_LIBDIR="/usr/lib" "../${pkgname}-${pkgver}" + make +} + +package() { + cd ${srcdir}/build + make DESTDIR="${pkgdir}" install +} -- cgit v1.2.3-70-g09d2