summaryrefslogtreecommitdiff
path: root/extra/ortp/PKGBUILD
blob: 1cb6bc708b2f80c523923797dcd8d2de2adcedc1 (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
30
31
32
# $Id: PKGBUILD 188538 2013-06-15 10:09:55Z andrea $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=ortp
pkgver=0.22.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=('libzrtpcpp' 'libsrtp')
options=('!libtool')
source=("http://download-mirror.savannah.gnu.org/releases/linphone/${pkgname}/sources/${pkgname}-${pkgver}.tar.gz"{,.sig})
sha1sums=('3f4712307ceba27c6498abd2090f411e02084dbd'
          'SKIP')

build() {
  cd ${pkgname}-${pkgver}

  ./configure --prefix=/usr \
    --enable-zrtp \
    --disable-strict
  make
}

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