contrib/libsrtp/Pkgfile
2021-01-08 00:01:39 +11:00

21 lines
503 B
Plaintext

# Description: Secure Realtime transport protocol library
# URL: https://github.com/cisco/libsrtp
# Maintainer: Tim Biermann, tbier at posteo dot de
name=libsrtp
version=2.3.0
release=3
source=(https://github.com/cisco/libsrtp/archive/v$version/$name-$version.tar.gz
libsrtp-2.3.0-shared-fix.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/libsrtp-2.3.0-shared-fix.patch
CFLAGS+=' -fcommon' \
./configure \
--prefix=/usr \
--enable-openssl
make
make DESTDIR=$PKG install
}