16 lines
No EOL
345 B
Bash
Executable file
16 lines
No EOL
345 B
Bash
Executable file
#!/bin/bash
|
|
# fails if using tgz. stick to git
|
|
git clone https://code.teampandory.com/thirdparty/flac.git
|
|
|
|
set -e
|
|
cd flac
|
|
git checkout 1.3.4
|
|
|
|
export CFLAGS="-I$PREFIX/include -O3"
|
|
export CPPFLAGS="-I$PREFIX/include -O3"
|
|
export LDFLAGS="-L$PREFIX/lib -logg"
|
|
|
|
./autogen.sh
|
|
CC="$xCC" ./configure --prefix="$PREFIX" --host="$xHOST"
|
|
make
|
|
make install |