summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbie Hopkins <herbs@gentoo.org>2005-04-19 21:47:57 +0000
committerHerbie Hopkins <herbs@gentoo.org>2005-04-19 21:47:57 +0000
commit2d71a0b24ac32d76bc65e49f137f4a3a64e33f7d (patch)
tree8aa2b6c7beb7e5a259990bbf5dc69a4e9f966542 /games-arcade/gish-demo/gish-demo-1.0.0.ebuild
parentrepoman again (diff)
downloadgentoo-2-2d71a0b24ac32d76bc65e49f137f4a3a64e33f7d.tar.gz
gentoo-2-2d71a0b24ac32d76bc65e49f137f4a3a64e33f7d.tar.bz2
gentoo-2-2d71a0b24ac32d76bc65e49f137f4a3a64e33f7d.zip
Multilib fixes, added ~amd64 keyword.
(Portage version: 2.0.51.19)
Diffstat (limited to 'games-arcade/gish-demo/gish-demo-1.0.0.ebuild')
-rw-r--r--games-arcade/gish-demo/gish-demo-1.0.0.ebuild19
1 files changed, 13 insertions, 6 deletions
diff --git a/games-arcade/gish-demo/gish-demo-1.0.0.ebuild b/games-arcade/gish-demo/gish-demo-1.0.0.ebuild
index 39e603be2c18..a97345e7bc96 100644
--- a/games-arcade/gish-demo/gish-demo-1.0.0.ebuild
+++ b/games-arcade/gish-demo/gish-demo-1.0.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/gish-demo/gish-demo-1.0.0.ebuild,v 1.1 2004/12/08 04:35:13 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/gish-demo/gish-demo-1.0.0.ebuild,v 1.2 2005/04/19 21:47:57 herbs Exp $
inherit games eutils
@@ -10,14 +10,21 @@ SRC_URI="ftp://demos.garagegames.com/gish/gishdemo-${PV}.tar.gz"
LICENSE="as-is"
SLOT="0"
-KEYWORDS="-* x86"
+KEYWORDS="-* x86 ~amd64"
IUSE=""
RDEPEND="virtual/libc
media-libs/libsdl
media-libs/openal
virtual/opengl
- media-libs/libvorbis"
+ media-libs/libvorbis
+ amd64? (
+ >=app-emulation/emul-linux-x86-xlibs-2.1
+ >=app-emulation/emul-linux-x86-sdl-2.1
+ )"
+
+# Binary x86 package
+has_multilib_profile && ABI="x86"
S=${WORKDIR}/gishdemo
@@ -30,8 +37,8 @@ src_install() {
# looks like when they built the game they accidently
# linked it against openssl ... lets fake it
- dosym /lib/libc.so.6 ${dir}/libssl.so.4
- dosym /lib/libc.so.6 ${dir}/libcrypto.so.4
+ dosym /$(get_libdir)/libc.so.6 ${dir}/libssl.so.4
+ dosym /$(get_libdir)/libc.so.6 ${dir}/libcrypto.so.4
exeinto ${dir}
doexe ${FILESDIR}/gish-wrapper