# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=libsrtp pkgver=1.5.4 pkgrel=0 pkgdesc="An implementation of the Secure Real-time Transport Protocol (SRTP)" url="http://srtp.sourceforge.net" arch="all" license="BSD" depends="" depends_dev="" makedepends="$depends_dev automake autoconf libtool" install="" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/cisco/libsrtp/archive/v$pkgver.tar.gz config.guess config.sub" builddir="$srcdir"/libsrtp-$pkgver build() { cd "$builddir" cp $srcdir/config.guess $srcdir/config.sub . || return 1 ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="64a9580f86a9c3e1c4986e944e6a5a84 libsrtp-1.5.4.tar.gz 52f80eee57d1a5dc581fbb1f1c6a7bad config.guess ab5cdf7080934d24cf4ca0739db766a1 config.sub" sha256sums="56a7b521c25134f48faff26b0b1e3d4378a14986a2d3d7bc6fefb48987304ff0 libsrtp-1.5.4.tar.gz 3c32dbef4195927bffd562b699095ad3271d9b06f1a3ff08eb313100b579a5fe config.guess 98cc817af4b814522e5d776cd005996efae1198b86f50a8518e6b4fac9f24bb3 config.sub" sha512sums="fcf6a36a0f687a6aa2b245e4055332ae892c953e19ebe3bfb7d091da0a7afbfcb804d9f602bd2d849235b559d3ca7924ee00c7f0da419c23b053b096ef4ccd19 libsrtp-1.5.4.tar.gz ec32c1c81a460033d1b419292f408974409d08cfc754af92ca5af303cc848fc5dc3a019028c6724346e96ab5d600519862fd9a2c3f01ae6cf7139ff377de4b80 config.guess fb999aada492f963fdf86184629a7351e5ff3adac6f4707a2d150ae18cea02478b4ebcb1d2d0bd11698ed74415d2a73bc07d8c0d96a5035bd567d2738fa73128 config.sub"