Makefile to compile scriptmine. New script and desktop file to run with scriptmine enabled. I have yet to find a global location the scriptmine.so can be placed and have minetest work.
parent
6983e98b26
commit
0fcddd7bbb
|
@ -0,0 +1,5 @@
|
||||||
|
scriptmine.so:
|
||||||
|
gcc -shared -fPIC -o scriptmine.so scriptmine.c src/duktape.c -Isrc/ `pkg-config --cflags --libs luajit` -lm
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f scriptmine.so
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
cd ~/.minetest/mods/scriptmine/
|
||||||
|
minetest
|
|
@ -0,0 +1,11 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Minetest:JS
|
||||||
|
GenericName=Minetest:JS
|
||||||
|
Comment=Multiplayer infinite-world block sandbox
|
||||||
|
Exec=minetest_with_js
|
||||||
|
Icon=minetest
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Game;
|
||||||
|
StartupNotify=false
|
||||||
|
X-Desktop-File-Install-Version=0.22
|
Loading…
Reference in New Issue