Server build script
Builds the stable version from source.
This commit is contained in:
parent
96dd09948c
commit
234fd090ca
1 changed files with 17 additions and 0 deletions
17
buildstable.bash
Normal file
17
buildstable.bash
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# wget https://github.com/minetest/minetest/archive/master.tar.gz
|
||||||
|
wget https://github.com/minetest/minetest/archive/refs/tags/5.6.1.tar.gz
|
||||||
|
tar xf 5.6.1.tar.gz
|
||||||
|
cd minetest-5.6.1
|
||||||
|
cd games/
|
||||||
|
wget https://github.com/minetest/minetest_game/archive/master.tar.gz
|
||||||
|
tar xf master.tar.gz
|
||||||
|
mv minetest_game-master minetest_game
|
||||||
|
cd ..
|
||||||
|
cd lib/
|
||||||
|
wget https://github.com/minetest/irrlicht/archive/master.tar.gz
|
||||||
|
tar xf master.tar.gz
|
||||||
|
mv irrlicht-master irrlichtmt
|
||||||
|
cd ..
|
||||||
|
cmake . -DRUN_IN_PLACE=TRUE -DBUILD_SERVER=TRUE -DBUILD_CLIENT=FALSE
|
||||||
|
make -j$(nproc)
|
Loading…
Add table
Add a link
Reference in a new issue