# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=ortp pkgver=0.25.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 \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-static \ --enable-ipv6 \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="f44b4ab2a8de32c19abfa584c4426f76 ortp-0.25.0.tar.gz" sha256sums="0deb826b79b1fd329f7638821d5439dc343bc55bb122daa6c90d19116cfe8d9a ortp-0.25.0.tar.gz" sha512sums="8e4ee626e644983d3839f5f0a300ba6781177f2b8d67c843270fc9db1486ee6c29baad4b95168021ac8cfb85f56adbfbc424e297a6ad3704071a01cf8871bef9 ortp-0.25.0.tar.gz"