6,566
edits
Catalanoic (talk | contribs) |
(Abstracted the SourceForge URLs by using the {{fgmeta url}}, {{terragear clone}}, and {{terragear url}} subtemplates of {{repo link}}.) |
||
Line 14: | Line 14: | ||
=== Using the download_and_compile.sh script (Linux distros using apt) === | === Using the download_and_compile.sh script (Linux distros using apt) === | ||
Get the script download_and_compile.sh if you don't already have it. Copy it into a specific directory, no need to be root. | Get the script download_and_compile.sh if you don't already have it. Copy it into a specific directory, no need to be root. | ||
{{#tag: syntaxhighlight | | |||
wget | wget {{fgmeta url|view=raw|path=download_and_compile.sh}} | ||
mv download_and_compile.sh\?format\=raw download_and_compile.sh | mv download_and_compile.sh\?format\=raw download_and_compile.sh | ||
chmod 755 download_and_compile.sh | chmod 755 download_and_compile.sh | ||
./download_and_compile.sh SIMGEAR TERRAGEAR | ./download_and_compile.sh SIMGEAR TERRAGEAR | ||
| lang="bash" | |||
}} | |||
This will build SIMGEAR (pre-requisite) and TERRAGEAR properly, installing dependencies if necessary and you will be done for the TG compilation part of the process. | This will build SIMGEAR (pre-requisite) and TERRAGEAR properly, installing dependencies if necessary and you will be done for the TG compilation part of the process. | ||
Line 29: | Line 30: | ||
=== Source === | === Source === | ||
The source is hold in a [[Git]] repository at SourceForge.. | The source is hold in a [[Git]] repository at SourceForge.. | ||
{{#tag: syntaxhighlight | | |||
{{terragear clone|post=flightgear-terragear}} | |||
| lang="bash" | |||
}} | |||
you have to use the stable branch called "ws2.0" ! | you have to use the stable branch called "ws2.0" ! | ||
{{terragear url|branch=scenery/ws2.0/~}} | |||
== Compilation == | == Compilation == |