16 lines
No EOL
394 B
Bash
Executable file
16 lines
No EOL
394 B
Bash
Executable file
#!/bin/bash
|
|
git clone https://code.teampandory.com/thirdparty/opusfile.git
|
|
cd opusfile
|
|
git checkout v0.12
|
|
set -e
|
|
|
|
export CFLAGS="-I$PREFIX/include -O3"
|
|
export CPPFLAGS="-I$PREFIX/include -O3"
|
|
export LDFLAGS="-L$PREFIX/lib -logg -lopus"
|
|
export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig"
|
|
|
|
export CC="$xCC"
|
|
./autogen.sh
|
|
./configure --prefix="$PREFIX" --host="$xHOST" --disable-http
|
|
make
|
|
make install |