This repository has been archived on 2019-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
mumbledj/install-opus.sh
2015-08-03 22:00:37 +01:00

10 lines
307 B
Bash

#!/bin/sh
set -e
# check to see if opus folder is empty
if [ ! -d "$HOME/opus/lib" ]; then
wget http://downloads.xiph.org/releases/opus/opus-1.0.3.tar.gz
tar xzvf opus-1.0.3.tar.gz
cd opus-1.0.3 && ./configure --prefix=$HOME/opus && make && make install
else
echo 'Using cached directory.';
fi