This repository has been archived on 2024-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
cathook/install-all
2018-05-21 11:50:36 +02:00

41 lines
1.3 KiB
Plaintext
Executable File

#
# Install base Dependencies
#
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && sudo apt update && sudo apt install build-essential git gcc-multilib g++-multilib software-properties-common gcc-snapshot g++-6-multilib gcc-6 g++-6 libssl-dev:i386 libboost-all-dev libc6-dev:i386 gdb libsdl2-dev libglew-dev:i386 libglew-dev libfreetype6-dev libfreetype6-dev:i386 cmake libpng-dev libssl-dev cmake gcc-multilib g++-multilib -y
#
# Install libglez
#
mkdir cathook; cd cathook
git clone --recursive https://github.com/nullworks/libglez.git;cd libglez;mkdir build;cd build;cmake ..;make;sudo make install;cd ..;cd ..
#
# Install libxoverlay
#
git clone --recursive https://github.com/nullworks/libxoverlay.git;cd libxoverlay;mkdir build;cd build;cmake ..;make;sudo make install;cd ..;cd ..
#
# Install Simple-ipc
#
git clone --recursive https://github.com/nullworks/simple-ipc.git;cd simple-ipc;mkdir build;cd build;cmake ..;make;sudo make install;cd ..;cd ..
#
# Build cathook
#
git clone --recursive https://github.com/nullworks/cathook.git;cd cathook;mkdir build;cd build;cmake ..;make -j$(grep -c '^processor' /proc/cpuinfo); sudo make data; cd ..; cd ..
#
# Do post installation stuff
#
cp -a -u ./cathook/tools/. ./
rm ./README
rm ./updater.sh
cd ..; rm install-all