= $stitle ?>
HOWTO: clanlib
Description: Game software development kit
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything
# ClanLib 0.7.8
# =============
# To view a list of games that use ClanLib, go here.
# Version 0.6.5 is the latest stable version of ClanLib. It's fairly old
# and I wasn't able to compile it the last time I tried. The web site's
# download page now says this:
#
# "Even though we classify the 0.7.x branch as the development/unstable
# branch, we are mighty proud of the current state of ClanLib 0.7. It is
# alot better than 0.6 in all ways, and we fully recommend using 0.7.x
# instead of 0.6.5."
#
# So, now I only include the development version here. (plus, I tried to
# find 0.6.5 somewhere on their site or my HD and couldn't)
# Prerequisites:
# gawk
# sed
# grep
# pkg-config (optional AFAIK)
# zlib
# XFree86 or X.org (optional AFAIK)
# libpng
# libjpeg
# SDL >= 1.2.0 with SDL_gfx
# mikmod
# libogg, libvorbis (optional)
# perl
cd
test -f installed/ClanLib-0.7.8-1.tar.bz2 &&
mv installed/ClanLib-0.7.8-1.tar.bz2 .
test ! -f ClanLib-0.7.8-1.tar.bz2 &&
wget http://www.clanlib.org/download/files/ClanLib-0.7.8-1.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "ClanLib-*" -exec rm -r {} \;
tar xjvf ~/ClanLib-0.7.8-1.tar.bz2
cd ClanLib-0.7.8
test $UID = 0 && chown -R root:root .
./configure
make
# Become root to install it
su
make install
ln -sf /usr/local/include/ClanLib-0.7/ClanLib /usr/local/include/ClanLib
# Become yourself again
exit
cd
mkdir -p -m 0700 install
rm -f installed/ClanLib-*.tar.*
mv ClanLib-0.7.8-1.tar.bz2 installed/
|
Last updated: Fri, 26 Mar 2010 13:18:56 -0400 Jason Englander <jason at englanders dot us> |
|