summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2004-05-21 13:55:24 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2004-05-21 13:55:24 +0000
commit3b875188d38185e2e4e3e729407e9bd1fb84e20b (patch)
tree596beb820ce879e05a21a3d6cfdf0b86fc422629 /games-fps/ut2004
parentFixing BUG #44409 (again). (Manifest recommit) (diff)
downloadgentoo-2-3b875188d38185e2e4e3e729407e9bd1fb84e20b.tar.gz
gentoo-2-3b875188d38185e2e4e3e729407e9bd1fb84e20b.tar.bz2
gentoo-2-3b875188d38185e2e4e3e729407e9bd1fb84e20b.zip
Fixing my SNAFU in src_unpack and closing bug #51644.
Diffstat (limited to 'games-fps/ut2004')
-rw-r--r--games-fps/ut2004/ChangeLog5
-rw-r--r--games-fps/ut2004/ut2004-3204.ebuild9
2 files changed, 9 insertions, 5 deletions
diff --git a/games-fps/ut2004/ChangeLog b/games-fps/ut2004/ChangeLog
index 262c2baed178..11579ff0f663 100644
--- a/games-fps/ut2004/ChangeLog
+++ b/games-fps/ut2004/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-fps/ut2004
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004/ChangeLog,v 1.2 2004/05/21 12:31:13 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004/ChangeLog,v 1.3 2004/05/21 13:55:24 wolf31o2 Exp $
+
+ 21 May 2004; Chris Gianelloni <wolf31o2@gentoo.org> ut2004-3204.ebuild:
+ Fixing my SNAFU in src_unpack and closing bug #51644.
21 May 2004; Chris Gianelloni <wolf31o2@gentoo.org> ut2004-3204.ebuild:
Hoping to have fixed the CD/DVD detection in pkg_setup.
diff --git a/games-fps/ut2004/ut2004-3204.ebuild b/games-fps/ut2004/ut2004-3204.ebuild
index eb76260ca321..37add81784fe 100644
--- a/games-fps/ut2004/ut2004-3204.ebuild
+++ b/games-fps/ut2004/ut2004-3204.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004/ut2004-3204.ebuild,v 1.2 2004/05/21 12:31:13 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004/ut2004-3204.ebuild,v 1.3 2004/05/21 13:55:24 wolf31o2 Exp $
inherit games
@@ -58,6 +58,8 @@ pkg_setup() {
src_unpack() {
unpack_makeself ${CDROM_ROOT}/linux-installer.sh \
|| die "unpacking linux installer"
+ use x86 && tar -xf ${S}/linux-x86.tar
+ use amd64 && tar -xf ${S}/linux-amd64.tar
unpack ${PN}-lnxpatch${PV}.tar.bz2
}
@@ -128,9 +130,8 @@ src_install() {
doexe ${S}/bin/ut2004 || die "copying ut2004"
exeinto ${dir}/System
- doexe ${S}/System/{libSDL-1.2.so.0,openal.so,ucc-bin} \
- || die "copying libs/ucc"
- doexe ${S}/ut2004-bin
+ doexe ${S}/System/{libSDL-1.2.so.0,openal.so,u{cc,t2004}-bin} \
+ || die "copying libs/ucc/ut2004"
# Removing uneccessary files in Sounds
rm -f ${Ddir}/Sounds/*.{det,est,frt,itt,kot,smt,tmt}_uax.uz2