summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-10-07 03:49:18 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-10-07 03:49:18 +0000
commit26e972e522323da9168fd460f331ce0ca20e4f92 (patch)
tree3da9c355c673155725f25609cff2330beca60ecf /games-engines/exult/exult-1.2.ebuild
parentFixed a bug setting CTARGET_OPT incorrectly for some crosscompilers. (diff)
downloadhistorical-26e972e522323da9168fd460f331ce0ca20e4f92.tar.gz
historical-26e972e522323da9168fd460f331ce0ca20e4f92.tar.bz2
historical-26e972e522323da9168fd460f331ce0ca20e4f92.zip
expand filename before passing to unpack (bug #107532); tidy
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'games-engines/exult/exult-1.2.ebuild')
-rw-r--r--games-engines/exult/exult-1.2.ebuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/games-engines/exult/exult-1.2.ebuild b/games-engines/exult/exult-1.2.ebuild
index 83e3a4c2cc97..7c3a83cb651a 100644
--- a/games-engines/exult/exult-1.2.ebuild
+++ b/games-engines/exult/exult-1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-engines/exult/exult-1.2.ebuild,v 1.4 2005/05/06 15:03:17 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-engines/exult/exult-1.2.ebuild,v 1.5 2005/10/07 03:49:18 mr_bones_ Exp $
inherit games
@@ -12,8 +12,8 @@ SRC_URI="mirror://sourceforge/exult/${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ppc ~sparc ~amd64"
-IUSE="timidity zlib mmx 3dnow"
+KEYWORDS="~amd64 ppc ~sparc x86"
+IUSE="3dnow mmx timidity zlib"
RDEPEND=">=media-libs/libsdl-1.2
>=media-libs/sdl-mixer-1.2.4
@@ -33,8 +33,8 @@ src_unpack() {
unpack ${P}.tar.gz
mkdir music/
cd music/
- unpack U7MusicOGG_[12]of2.zip
- cd ${S}
+ unpack U7MusicOGG_{1,2}of2.zip
+ cd "${S}"
sed -i \
-e "s/u7siinstrics.data/u7siintrinsics.data/" \
usecode/ucxt/data/Makefile.in \
@@ -51,18 +51,18 @@ src_compile() {
--disable-dependency-tracking \
--disable-tools \
--disable-opengl \
+ $(use_enable 3dnow) \
+ $(use_enable mmx) \
$(use_enable timidity) \
$(use_enable zlib zip-support) \
- $(use_enable mmx) \
- $(use_enable 3dnow) \
|| die
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" \
- desktopdir='/usr/share/applications/' \
- icondir='/usr/share/icons' \
+ desktopdir=/usr/share/applications/ \
+ icondir=/usr/share/icons \
install || die "make install failed"
# no need for this directory for just playing the game
rm -rf "${D}${GAMES_DATADIR}/${PN}/estudio"