box64: install missing dependencies

pull/861/head
Botspot 4 years ago
parent 7c20f0f04e
commit 6693bfc1a1

@ -7,12 +7,12 @@ function error {
exit 1
}
"${DIRECTORY}/pkg-install" "cmake" "$(dirname "$0")" || exit 1
"${DIRECTORY}/pkg-install" "cmake make python3 gcc" "$(dirname "$0")" || exit 1
rm -rf ~/box64
git clone https://github.com/ptitSeb/box64 || error 'Failed to clone box64 repository!'
cd box64 || error 'Failed to change directory'
mkdir build; cd build; cmake .. -DRPI4ARM64=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo || error 'Failed to make directory'
mkdir build; cd build; cmake .. -DRPI4ARM64=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo || error 'Failed to run cmake in "build" directory'
make -j8 || error 'Failed to compile'
sudo make install || error 'Failed to run "sudo make install"'
sudo systemctl restart systemd-binfmt || exit 1
sudo systemctl restart systemd-binfmt || error "Failed to restart systemd-binfmt"

Loading…
Cancel
Save