contrib/libsrtp/Pkgfile

21 lines
503 B
Plaintext
Raw Normal View History

2019-08-07 12:18:00 +02:00
# Description: Secure Realtime transport protocol library
# URL: https://github.com/cisco/libsrtp
# Maintainer: Tim Biermann, tbier at posteo dot de
2019-08-07 11:45:25 +02:00
name=libsrtp
2019-12-25 19:24:56 +01:00
version=2.3.0
2021-01-07 13:58:36 +01:00
release=3
source=(https://github.com/cisco/libsrtp/archive/v$version/$name-$version.tar.gz
libsrtp-2.3.0-shared-fix.patch)
2019-08-07 11:45:25 +02:00
build() {
2021-01-07 13:58:36 +01:00
cd $name-$version
patch -p1 -i $SRC/libsrtp-2.3.0-shared-fix.patch
CFLAGS+=' -fcommon' \
2019-08-07 12:18:00 +02:00
./configure \
--prefix=/usr \
2020-10-17 16:40:02 +02:00
--enable-openssl
2019-08-07 12:18:00 +02:00
make
make DESTDIR=$PKG install
2019-08-07 11:45:25 +02:00
}