mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 13:40:56 +00:00
add support for ppc64 in installer
This commit is contained in:
parent
057e7edf18
commit
4de00b3d02
2 changed files with 16 additions and 1 deletions
|
@ -35,6 +35,8 @@ copystartscript()
|
||||||
mkdir -p image/bin/Linux/$arch
|
mkdir -p image/bin/Linux/$arch
|
||||||
if [ "$arch" = x86_64 ]; then
|
if [ "$arch" = x86_64 ]; then
|
||||||
ln -s x86_64 image/bin/Linux/amd64
|
ln -s x86_64 image/bin/Linux/amd64
|
||||||
|
elif [ "$arch" = ppc ]; then
|
||||||
|
ln -s ppc image/bin/Linux/ppc64
|
||||||
fi
|
fi
|
||||||
install -m 755 ioquake3.sh image/bin/Linux/$arch/ioquake3
|
install -m 755 ioquake3.sh image/bin/Linux/$arch/ioquake3
|
||||||
install -m 755 ioq3demo.sh image/bin/Linux/$arch/ioq3demo
|
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
|
ppc) echo "define(HAVE_PPC,yes)dnl" >> defines.m4
|
||||||
copystartscript $arch
|
copystartscript $arch
|
||||||
;;
|
;;
|
||||||
|
ppc64) echo "define(HAVE_PPC64,yes)dnl" >> defines.m4
|
||||||
|
copystartscript $arch
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "architecture $arch unsupported"
|
echo "architecture $arch unsupported"
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -35,7 +35,7 @@ ifelse(HAVE_I386,yes,dnl
|
||||||
</option>
|
</option>
|
||||||
)dnl
|
)dnl
|
||||||
ifelse(HAVE_PPC,yes,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>
|
<binary libc="any" symlink="ioquake3" icon="quake3.png" name="ioquake3">ioquake3</binary>
|
||||||
ioq3 ppc binaries
|
ioq3 ppc binaries
|
||||||
<files>
|
<files>
|
||||||
|
@ -43,6 +43,16 @@ ifelse(HAVE_PPC,yes,dnl
|
||||||
</files>
|
</files>
|
||||||
<help>you need the binaries to play the game</help>
|
<help>you need the binaries to play the game</help>
|
||||||
</option>
|
</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
|
)dnl
|
||||||
<option install="true">
|
<option install="true">
|
||||||
Desktop menu entries
|
Desktop menu entries
|
||||||
|
|
Loading…
Reference in a new issue