[oe-commits] : quake2 svn: fix install for non i386 hosts
OE GIT Trial
gittrial at amethyst.openembedded.net
Tue Sep 9 14:01:31 UTC 2008
Module: OE.dev
Branch: org.openembedded.dev
Commit: c59a776f3dc9860210379d81fedab6b089d89c8f
URL: http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=c59a776f3dc9860210379d81fedab6b089d89c8f
Author: <koen at openembedded.org>
Date: Tue Sep 9 13:51:40 2008 +0000
quake2 svn: fix install for non i386 hosts
---
packages/quake/quake2_svn.bb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/packages/quake/quake2_svn.bb b/packages/quake/quake2_svn.bb
index a90b318..5ce56dc 100644
--- a/packages/quake/quake2_svn.bb
+++ b/packages/quake/quake2_svn.bb
@@ -26,7 +26,7 @@ do_install() {
install -d ${D}/${bindir}
echo -e "#!/bin/sh \ncd ${libdir}/quake2 && ./quake2 \$@ \n" > ${D}/${bindir}/quake2
- ( cd ${S}/debug${TARGET_ARCH} ; ln -sf gamei386.so game${TARGET_ARCH}.so )
+ ( cd ${S}/debug${TARGET_ARCH} ; ln -sf game$(uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc/ -e s/sparc64/sparc/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/alpha/axp/).so game${TARGET_ARCH}.so )
install -d ${D}/${libdir}/quake2/baseq2/ctf
install -m 0755 ${S}/debug${TARGET_ARCH}/game${TARGET_ARCH}.so ${D}/${libdir}/quake2/baseq2
install -m 0755 ${S}/debug${TARGET_ARCH}/ref*.so ${D}/${libdir}/quake2
More information about the Openembedded-commits
mailing list