Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
if [ ! -e /usr/lib/libsrtp.so.1 ]
then
cd /tmp/
wget https://github.com/cisco/libsrtp/archive/v1.5.4.tar.gz
tar xfv v1.5.4.tar.gz
rm v1.5.4.tar.gz
cd libsrtp-1.5.4
./configure --prefix=/usr --enable-openssl
make shared_library && sudo make install
cd /tmp && rm -rf /tmp/libsrtp-1.5.4
else
echo "LibSRTP already installed."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment