You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
622 B
29 lines
622 B
7 years ago
|
#!/bin/bash
|
||
|
|
||
|
# install python dependencies
|
||
|
if [ -f 'requirements.txt' ]; then
|
||
|
pip install -r requirements.txt
|
||
|
fi
|
||
|
|
||
|
if [ $? != 0 ]; then
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
# install scikits.samplerate
|
||
|
curl -O "http://www.mega-nerd.com/SRC/libsamplerate-0.1.9.tar.gz"
|
||
|
if [ $? != 0 ]; then
|
||
|
echo "Download libsamplerate-0.1.9.tar.gz failed !!!"
|
||
|
exit 1
|
||
|
fi
|
||
|
tar -xvf libsamplerate-0.1.9.tar.gz
|
||
|
cd libsamplerate-0.1.9
|
||
|
./configure && make && make install
|
||
|
cd -
|
||
|
rm -rf libsamplerate-0.1.9
|
||
|
rm libsamplerate-0.1.9.tar.gz
|
||
|
pip install scikits.samplerate==0.3.3
|
||
|
if [ $? != 0 ]; then
|
||
|
echo "Install sckikits.samplerate failed !!!"
|
||
|
exit 1
|
||
|
fi
|