summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-03-29 22:24:11 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-03-29 22:24:11 +0000
commitae42631ce143d3cd2d93ef0777f4e2ba58da0f75 (patch)
tree07cb595eba8e3f3cbac7f3dcfb3d5a9696d53347 /games-fps
parentAMD64 stable (welp oleee) (diff)
downloadgentoo-2-ae42631ce143d3cd2d93ef0777f4e2ba58da0f75.tar.gz
gentoo-2-ae42631ce143d3cd2d93ef0777f4e2ba58da0f75.tar.bz2
gentoo-2-ae42631ce143d3cd2d93ef0777f4e2ba58da0f75.zip
use games_get_libdir
(Portage version: 2.1.2.2)
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/sauerbraten/sauerbraten-2006.12.04.ebuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/games-fps/sauerbraten/sauerbraten-2006.12.04.ebuild b/games-fps/sauerbraten/sauerbraten-2006.12.04.ebuild
index fa7a2394113f..b78eacdbe409 100644
--- a/games-fps/sauerbraten/sauerbraten-2006.12.04.ebuild
+++ b/games-fps/sauerbraten/sauerbraten-2006.12.04.ebuild
@@ -1,8 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/sauerbraten/sauerbraten-2006.12.04.ebuild,v 1.3 2007/02/08 00:30:39 nyhm Exp $
-
-use amd64 && ABI=x86
+# $Header: /var/cvsroot/gentoo-x86/games-fps/sauerbraten/sauerbraten-2006.12.04.ebuild,v 1.4 2007/03/29 22:24:11 nyhm Exp $
inherit eutils multilib games
@@ -39,18 +37,20 @@ src_compile() {
}
src_install() {
- exeinto "${GAMES_LIBDIR}"/${PN}
+ use amd64 && multilib_toolchain_setup x86
+
+ exeinto "$(games_get_libdir)"/${PN}
doexe bin_unix/linux_{client,server} || die
- insinto "${GAMES_DATADIR}"
+ insinto "${GAMES_DATADIR}"/${PN}
doins -r data packages || die
local x
for x in client server ; do
newgamesbin "${FILESDIR}"/wrapper ${PN}_${x}-bin || die
sed -i \
- -e "s:@GENTOO_GAMESDIR@:${GAMES_DATADIR}:g" \
- -e "s:@GENTOO_EXEC@:${GAMES_LIBDIR}/${PN}/linux_${x}:g" \
+ -e "s:@GENTOO_GAMESDIR@:${GAMES_DATADIR}/${PN}:g" \
+ -e "s:@GENTOO_EXEC@:$(games_get_libdir)/${PN}/linux_${x}:g" \
"${D}/${GAMES_BINDIR}"/${PN}_${x}-bin
done