aboutsummaryrefslogtreecommitdiffstats
path: root/misc/setup
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-11-12 13:40:05 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-11-12 13:40:05 +0000
commit9b9eae88fefa6189625a176a2a99d195ac6882c7 (patch)
treeecf204e86ab83e47ce244089f7b836c3f41f6aae /misc/setup
parent68531f54f07de417ceb1acd56eb81968cd6a7747 (diff)
downloadioquake3-aero-9b9eae88fefa6189625a176a2a99d195ac6882c7.tar.gz
ioquake3-aero-9b9eae88fefa6189625a176a2a99d195ac6882c7.zip
add support for ppc64 in installer
git-svn-id: svn://svn.icculus.org/quake3/trunk@1489 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'misc/setup')
-rwxr-xr-xmisc/setup/doit5
-rw-r--r--misc/setup/setup.xml.in12
2 files changed, 16 insertions, 1 deletions
diff --git a/misc/setup/doit b/misc/setup/doit
index d5141ab..033d88c 100755
--- a/misc/setup/doit
+++ b/misc/setup/doit
@@ -35,6 +35,8 @@ copystartscript()
mkdir -p image/bin/Linux/$arch
if [ "$arch" = x86_64 ]; then
ln -s x86_64 image/bin/Linux/amd64
+ elif [ "$arch" = ppc ]; then
+ ln -s ppc image/bin/Linux/ppc64
fi
install -m 755 ioquake3.sh image/bin/Linux/$arch/ioquake3
install -m 755 ioq3demo.sh image/bin/Linux/$arch/ioq3demo
@@ -53,6 +55,9 @@ for arch in $topdir/build/release-*; do
ppc) echo "define(HAVE_PPC,yes)dnl" >> defines.m4
copystartscript $arch
;;
+ ppc64) echo "define(HAVE_PPC64,yes)dnl" >> defines.m4
+ copystartscript $arch
+ ;;
*)
echo "architecture $arch unsupported"
continue;
diff --git a/misc/setup/setup.xml.in b/misc/setup/setup.xml.in
index 727c6d1..b820101 100644
--- a/misc/setup/setup.xml.in
+++ b/misc/setup/setup.xml.in
@@ -35,7 +35,7 @@ ifelse(HAVE_I386,yes,dnl
</option>
)dnl
ifelse(HAVE_PPC,yes,dnl
- <option install="true">
+ <option install="true" if="|(ppc,ppc64)">
<binary libc="any" symlink="ioquake3" icon="quake3.png" name="ioquake3">ioquake3</binary>
ioq3 ppc binaries
<files>
@@ -44,6 +44,16 @@ ifelse(HAVE_PPC,yes,dnl
<help>you need the binaries to play the game</help>
</option>
)dnl
+ifelse(HAVE_PPC64,yes,dnl
+ <option install="true" arch="ppc64">
+ <binary libc="any" symlink="ioquake3" icon="quake3.png" name="ioquake3">ioquake3</binary>
+ ioq3 ppc64 binaries
+ <files>
+ ioquake3.ppc64.tar
+ </files>
+ <help>you need the binaries to play the game</help>
+ </option>
+)dnl
<option install="true">
Desktop menu entries
<files mode="0755">