From 426e203c029cf44c5ef9ee80e98c8f1bc27cf1e0 Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Thu, 29 Mar 2007 22:24:11 +0000 Subject: [PATCH] use games_get_libdir Package-Manager: portage-2.1.2.2 --- games-fps/sauerbraten/Manifest | 18 ++++++++++++++---- .../sauerbraten/sauerbraten-2006.12.04.ebuild | 14 +++++++------- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/games-fps/sauerbraten/Manifest b/games-fps/sauerbraten/Manifest index f9fb943c6987..e17f25aef15a 100644 --- a/games-fps/sauerbraten/Manifest +++ b/games-fps/sauerbraten/Manifest @@ -1,12 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX wrapper 166 RMD160 2ef2e9eae4862302c76ca96bd831715a9641307f SHA1 4e82510a45c559661aa5f7469dbda0063ff50cd5 SHA256 3af32c9d753c17d320d76b407feb0e008c6ba7c1877ab6c830ed3bb7587b66e6 MD5 d50302b97e646deb6c58e640972f5d4c files/wrapper 166 RMD160 2ef2e9eae4862302c76ca96bd831715a9641307f files/wrapper 166 SHA256 3af32c9d753c17d320d76b407feb0e008c6ba7c1877ab6c830ed3bb7587b66e6 files/wrapper 166 DIST sauerbraten_2006_12_04_gui_edition_linux.tar.gz 139007123 RMD160 e48045fcb1a409d7fa623301ccdb78cfffca486e SHA1 70b9ce57ec9dc12894b915c9741a251506076cb4 SHA256 6c6dfd7d79991232ea389b49fa063ff19dd4afa1d0ca8adc6f90873f968c64b1 -EBUILD sauerbraten-2006.12.04.ebuild 1412 RMD160 e522ac8c047ffbad3191fa8d34bfb141b5ec1139 SHA1 4873ba2d70b5bdb91a0309286796f6a042faff41 SHA256 0887b956446420b9c776bd92e726e10f37ec6e71b25966e76e48d95de2aad59e -MD5 5679b0d3a3d3d682e3873d4473ed134d sauerbraten-2006.12.04.ebuild 1412 -RMD160 e522ac8c047ffbad3191fa8d34bfb141b5ec1139 sauerbraten-2006.12.04.ebuild 1412 -SHA256 0887b956446420b9c776bd92e726e10f37ec6e71b25966e76e48d95de2aad59e sauerbraten-2006.12.04.ebuild 1412 +EBUILD sauerbraten-2006.12.04.ebuild 1454 RMD160 c2e1ceeb0cfe84b23443266bec7ac74eabdede3a SHA1 b7e3cbdd33f6a2239d1246b030518594b90b0ca3 SHA256 171624015ccb2eaee31d017b988133a9a818e3bc52476abe3190f7b7e50532b7 +MD5 48e4a7f42735f20d7303861adc13904c sauerbraten-2006.12.04.ebuild 1454 +RMD160 c2e1ceeb0cfe84b23443266bec7ac74eabdede3a sauerbraten-2006.12.04.ebuild 1454 +SHA256 171624015ccb2eaee31d017b988133a9a818e3bc52476abe3190f7b7e50532b7 sauerbraten-2006.12.04.ebuild 1454 MISC ChangeLog 779 RMD160 7d7dd64899e0e1fa649c473702a050aeffd40f7f SHA1 1ef4c34c912d87cee2852dfbbb2f722c16472da7 SHA256 a4e3d6df69b0c2261e786fd64c9c52d7ecd8998d3b9ee6bcde78e92d77d9a141 MD5 60dd1a9c732d64b40bac0fe94ca93b82 ChangeLog 779 RMD160 7d7dd64899e0e1fa649c473702a050aeffd40f7f ChangeLog 779 @@ -18,3 +21,10 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata MD5 b99c3576a7f4d6f792e27f50a33d970e files/digest-sauerbraten-2006.12.04 331 RMD160 f7764c627f8b1a95aac11bdd548716690b6c33b3 files/digest-sauerbraten-2006.12.04 331 SHA256 b09c1be6c20440407ed8fc443ac0966ff4c623b8d3db3cfca837629a34f3bb13 files/digest-sauerbraten-2006.12.04 331 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD4DBQFGDDyedz7hIScOURERAoOrAKC0CQGcrSqSs/I+s7Xblq68StZangCXemP4 +N6C2MotjsxKFts7wiRP5Lg== +=zdFb +-----END PGP SIGNATURE----- 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 -- 2.26.2