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 --- ortp/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 ortp/PKGBUILD (limited to 'ortp') 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