20 lines
536 B
Bash
Executable file
20 lines
536 B
Bash
Executable file
#!/bin/bash
|
|
git clone https://github.com/DaedalusX64/daedalus
|
|
|
|
set -e
|
|
cd daedalus
|
|
#git reset HEAD --hard
|
|
#git checkout pandory
|
|
|
|
export CFLAGS="-I$PREFIX/include"
|
|
export CXXFLAGS="-I$PREFIX/include -O3"
|
|
export LDFLAGS="-L$PREFIX/lib -liconv"
|
|
#export LDFLAGS="-L$PREFIX/lib -llzma -logg -lFLAC -lvorbisenc -lvorbis -liconv -lbz2"
|
|
cmake . -DCMAKE_TOOLCHAIN_FILE="${xCMAKE}" -DCMAKE_INSTALL_PREFIX="$PREFIX" -DCMAKE_PREFIX_PATH="$PREFIX" -DCMAKE_BUILD_TYPE=RELEASE
|
|
|
|
|
|
|
|
make
|
|
|
|
#cp -fv vanillatd "$PREFIX/bin/"
|
|
#cp -fv vanillara "$PREFIX/bin/"
|