install soundfile lib

pull/947/head
Hui Zhang 3 years ago
parent 3417889332
commit 0730368e5d

@ -24,7 +24,7 @@ clean:
apt.done:
apt update -y
apt install -y bc flac jq vim tig tree pkg-config libflac-dev libogg-dev libvorbis-dev libboost-dev swig python3-dev
apt install -y bc flac jq vim tig tree pkg-config libsndfile1 libflac-dev libogg-dev libvorbis-dev libboost-dev swig python3-dev
echo "check_certificate = off" >> ~/.wgetrc
touch apt.done

@ -1,3 +1,7 @@
# install scripts
call from `tools` dir.
## Details
1. kaldi
deps gcc, mkl or openblas

@ -0,0 +1,18 @@
# install package libsndfile
WGET=wget --no-check-certificate
SOUNDFILE=libsndfile-1.0.28
SOUNDFILE_LIB=${SOUNDFILE}tar.gz
echo "Install package libsndfile into default system path."
test -e ${SOUNDFILE_LIB} || ${WGET} -c "http://www.mega-nerd.com/libsndfile/files/${SOUNDFILE_LIB}"
if [ $? != 0 ]; then
echo "Download ${SOUNDFILE_LIB} failed !!!"
exit 1
fi
tar -zxvf ${SOUNDFILE_LIB}
pushd ${SOUNDFILE}
./configure > /dev/null && make > /dev/null && make install > /dev/null
popd
Loading…
Cancel
Save