first commit
This commit is contained in:
8
app/build_otc.sh
Executable file
8
app/build_otc.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Download and compile OTClient
|
||||
cd /home/tibia
|
||||
git clone "https://github.com/edubart/otclient.git"
|
||||
cd otclient && mkdir build && cd build
|
||||
cmake ..
|
||||
make -j $(nproc)
|
15
app/build_physfs.sh
Executable file
15
app/build_physfs.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# PHYSFS dependency
|
||||
cd /app
|
||||
git clone -b stable-3.0 "https://github.com/icculus/physfs.git"
|
||||
cd physfs && mkdir build && cd build
|
||||
cmake ..
|
||||
make -j $(nproc)
|
||||
sudo make install
|
||||
|
||||
#sudo cp /usr/local/lib/libphysfs.a /usr/lib/x86_64-linux-gnu/.
|
||||
rm /usr/lib/x86_64-linux-gnu/libphysfs.a
|
||||
sudo ln -s /usr/local/lib/libphysfs.a /usr/lib/x86_64-linux-gnu/libphysfs.a
|
||||
|
||||
cd ../..
|
Reference in New Issue
Block a user