18 lines
No EOL
387 B
Bash
Executable file
18 lines
No EOL
387 B
Bash
Executable file
#!/bin/bash
|
|
git clone https://code.teampandory.com/pandory/pandory500/libpandory.git
|
|
set -e
|
|
|
|
cd libpandory
|
|
#git reset HEAD --hard
|
|
git pull origin main
|
|
|
|
export CFLAGS="-O3"
|
|
export CXXFLAGS="-O3"
|
|
|
|
CC="$xCC" ./make.sh
|
|
|
|
mkdir -p "$PREFIX/include/" "$PREFIX/lib/" "$PREFIX/bin/"
|
|
|
|
cp -fv libpandory.h "$PREFIX/include/"
|
|
cp -fv libpandory.so "$PREFIX/lib/"
|
|
cp -fv libpandory-test "$PREFIX/bin/" |