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