summaryrefslogtreecommitdiff
path: root/extra/ortp/PKGBUILD
blob: 3f132b4e9fb8dddd47aab2597b4b7208dfe8b4fc (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
33
# $Id: PKGBUILD 162825 2012-07-01 07:46:57Z 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.20.0.20120701
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}
source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('91b66787c6ac3e8d4d43946beb7611ce')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

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

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