# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=ortp pkgver=0.24.1 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 rm -f "$pkgdir"/usr/lib/*.la } md5sums="0e128554b5affdb7ffd776f0fbc4c317 ortp-0.24.1.tar.gz" sha256sums="d1ecce20bed145186f727914f10f500d0594e30c2a234a276e7e12dcd8814cd5 ortp-0.24.1.tar.gz" sha512sums="c1348f05a36978dadfed0b51aeb481093f59d2e5772c03c01f012c1a0bd534ad8f41e8448e17a0a86641cdc9866f51221b0ce194584f6ebc89016f22210fee0c ortp-0.24.1.tar.gz"