r1489 - trunk/misc/setup

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Nov 12 08:40:05 EST 2008


Author: ludwig
Date: 2008-11-12 08:40:05 -0500 (Wed, 12 Nov 2008)
New Revision: 1489

Modified:
   trunk/misc/setup/doit
   trunk/misc/setup/setup.xml.in
Log:
add support for ppc64 in installer

Modified: trunk/misc/setup/doit
===================================================================
--- trunk/misc/setup/doit	2008-11-12 13:40:04 UTC (rev 1488)
+++ trunk/misc/setup/doit	2008-11-12 13:40:05 UTC (rev 1489)
@@ -35,6 +35,8 @@
 	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 @@
 		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;

Modified: trunk/misc/setup/setup.xml.in
===================================================================
--- trunk/misc/setup/setup.xml.in	2008-11-12 13:40:04 UTC (rev 1488)
+++ trunk/misc/setup/setup.xml.in	2008-11-12 13:40:05 UTC (rev 1489)
@@ -35,7 +35,7 @@
     </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 @@
      <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">




More information about the quake3-commits mailing list