# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=ortp pkgver=0.24.2 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="9eb17e1e79f25acb06bbacc06ad3958f ortp-0.24.2.tar.gz" sha256sums="cb37c76985b3703157f0ed06d900d662b903ad3c5b772e2d1ea36478ad8a6616 ortp-0.24.2.tar.gz" sha512sums="929ae28dc149dd87def41b8d8d9d3d07070321d3834cc2533e5a0796df2170f0acb25226cbb9b6b5d3d05b2f01a16c4ddcd02e4f0c1977177a02ff6a9915624c ortp-0.24.2.tar.gz"