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 19:45:25 +10:00
|
|
|
|
|
|
|
name=libsrtp
|
2019-12-25 19:24:56 +01:00
|
|
|
version=2.3.0
|
2021-01-07 23:58:36 +11: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 19:45:25 +10:00
|
|
|
|
|
|
|
build() {
|
2021-01-07 23:58:36 +11: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 14:40:02 +00:00
|
|
|
--enable-openssl
|
2019-08-07 12:18:00 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2019-08-07 19:45:25 +10:00
|
|
|
}
|