summaryrefslogtreecommitdiff
path: root/community/libzrtpcpp/PKGBUILD
blob: 934c4a450c6476d497594f9208fa11431ee3e6e6 (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
# $Id: PKGBUILD 70716 2012-05-15 11:42:17Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Jeff Mickey <jeff@archlinux.org>
# Contributor: Michel Brabants <michel.brabants@euphonynet.be>

pkgname=libzrtpcpp
pkgver=2.0.0
pkgrel=1
pkgdesc="An extension to Real-time Transport Protocol (RTP) which describes a method of Diffie-Hellman key agreement for Secure Real-time Transport Protocol (SRTP)"
arch=('i686' 'x86_64')
url="http://zfoneproject.com"
license=('GPL')
depends=('ccrtp' 'ucommon')
makedepends=('pkgconfig' 'cmake')
options=('!libtool')
source=(ftp://ftp.gnu.org/gnu/ccrtp/$pkgname-$pkgver.tar.gz)
md5sums=('dc1501e7e8a46a1608fc3820c7476727')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  sed -i 's|lib64|lib|g' CMakeLists.txt
  cmake -DCMAKE_INSTALL_PREFIX=/usr .
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}