[sldev] Complete standalone trunk building script for Debian Lenny

Ambrosia chaosstar at gmail.com
Thu Mar 5 08:35:49 PST 2009


Greetings SLDEViants!

I made a bash script that compiles a standalone 1.23 trunk build on
Apt/dpkg based systems.

It's tested on Debian Lenny, and takes care of everything, getting
packages (Including the toolchain and subversion),
downloading the trunk, adding fixes and 3rd party libraries, before
finally compiling and making a nice directory
for the viewer. In other words, if all runs well it's fire and forget.

It can be grabbed at:

ftp://ambftp.ath.cx/build-trunk-ambrosia.sh

It should work on even the most minimal Lenny installations. Please
see the comments at the top of the script for details.
Also, the script should do its work on Ubuntu and Debian Sid, and
similiar dpkg-based distributions,
tho the line that grabs the system packages might need some tweaking.

As I said, it's 1-shot unattended, so run 'sh
build-trunk-ambrosia.sh', enter your root pass (onoz!). have some
coffee,
and hopefully return to a shiny new viewer.

And yes, I expect you to check the script first before doing anything
like typing in passwords. I added lots of comments, and
indented it well, so it should be easy to read and a good base for
more tweaking.

It's made to compile on both 32 and 64 bit, and attempts to create a
standalone build with FMod disabled, OpenAL enabled,
and the debug setting on 'Release'. I tried to make it do several
checks, as not to redo already done steps on re-run, unless
wanted.

Enjoy!


More information about the SLDev mailing list