# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=ortp pkgver=0.20.0 pkgrel=0 pkgdesc="A C library implementing the RTP protocol (RFC3550)" url="http://www.linphone.org/index.php/code_review/ortp" arch="all" license="LGPLv2+ VSL" depends="" makedepends="" install="" subpackages="$pkgname-dev" source="http://nongnu.askapache.com/linphone/ortp/sources/ortp-$pkgver.tar.gz " _builddir="$srcdir"/ortp-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure --prefix=/usr \ --disable-static \ --enable-ipv6 \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm -f "$pkgdir"/usr/lib/*.la } md5sums="b3f2f02fc5b7ba7e294806c81d419f3c ortp-0.20.0.tar.gz"