contrib/libsrtp/Pkgfile

23 lines
644 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
# Depends on:
2019-08-07 11:45:25 +02:00
name=libsrtp
2019-12-25 19:24:56 +01:00
version=2.3.0
2020-10-17 16:40:02 +02:00
release=2
source=(#https://github.com/cisco/libsrtp/archive/v$version/$name-$version.tar.gz)
# ugly fix, but hey.. let's wait for a release here
https://github.com/cisco/libsrtp/archive/7d351de8177b33c96669bb79dc684a8dc64c2483/$name-$version-1.tar.gz)
2019-08-07 11:45:25 +02:00
build() {
2020-10-17 16:40:02 +02:00
#cd $name-$version
cd $name-7d351de8177b33c96669bb79dc684a8dc64c2483
autoreconf -fvi
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
}