29 lines
573 B
Plaintext
Executable File
29 lines
573 B
Plaintext
Executable File
set -x
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
mkdir -p sdk/include
|
|
|
|
LIB=speexdsp
|
|
|
|
mkdir $LIB
|
|
pushd $LIB
|
|
|
|
git clone --depth 1 https://gitlab.xiph.org/xiph/speexdsp.git --branch SpeexDSP-1.2.1
|
|
|
|
cp -av $DIR/Makefile.* $LIB/
|
|
cp -av $DIR/config.h $LIB/include/
|
|
cp -av $DIR/speexdsp_config_types.h speexdsp/include/speex/speexdsp_config_types.h
|
|
mv $LIB/Makefile $LIB/Makefile.no
|
|
ln -s $DIR/../../Makefile-template $LIB/Makefile
|
|
|
|
pushd speexdsp
|
|
make
|
|
popd
|
|
|
|
popd
|
|
|
|
pushd sdk/include
|
|
ln -fs ../../speexdsp/speexdsp/include/speex speexdsp
|
|
popd
|
|
|