summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-01 09:26:39 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-01 09:26:39 +0000
commit93ea4dcf4b1b1e66c609ea926383f9f66daacb32 (patch)
treefc74f4a48d195a903cfdd6b8eca51f21518976ab /games-fps/quake1-data
parentppc-macos love to shut mjc the hell up (diff)
downloadgentoo-2-93ea4dcf4b1b1e66c609ea926383f9f66daacb32.tar.gz
gentoo-2-93ea4dcf4b1b1e66c609ea926383f9f66daacb32.tar.bz2
gentoo-2-93ea4dcf4b1b1e66c609ea926383f9f66daacb32.zip
add lha to DEPEND #114036 and fix unpacking #114040 (both by Pandor)
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'games-fps/quake1-data')
-rw-r--r--games-fps/quake1-data/quake1-data-2.40.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/games-fps/quake1-data/quake1-data-2.40.ebuild b/games-fps/quake1-data/quake1-data-2.40.ebuild
index 030e87a08997..46c6a164a4d0 100644
--- a/games-fps/quake1-data/quake1-data-2.40.ebuild
+++ b/games-fps/quake1-data/quake1-data-2.40.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-fps/quake1-data/quake1-data-2.40.ebuild,v 1.3 2005/11/05 22:55:18 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1-data/quake1-data-2.40.ebuild,v 1.4 2005/12/01 09:26:39 vapier Exp $
inherit eutils games
@@ -13,7 +13,8 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
-DEPEND=""
+DEPEND="app-arch/lha"
+RDEPEND=""
S=${WORKDIR}
@@ -24,9 +25,11 @@ pkg_setup() {
}
src_unpack() {
- echo ">>> Unpacking q101_int.1 to ${PWD}"
+ echo ">>> Unpacking q101_int to ${PWD}"
if [[ ${CDROM_SET} == "1" ]] ; then
- lha xqf "${CDROM_ROOT}"/q101_int.1 || die "failure unpacking q101_int.1"
+ cat "${CDROM_ROOT}"/q101_int.1 "${CDROM_ROOT}"/q101_int.2 > q101_int
+ lha xqf "${CDROM_ROOT}"/q101_int || die "failure unpacking q101_int"
+ rm -f q101_int
fi
}