summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-02-03 11:25:52 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-02-03 11:25:52 +0000
commitf67ac638f2410bcd476b86153ac534d5f36e0bbd (patch)
treedf78664956e210ec4f7d1a0101ddedc51369e2d1 /games-simulation/dangerdeep
parentdetermine compression suffix correctly and finally (diff)
downloadgentoo-2-f67ac638f2410bcd476b86153ac534d5f36e0bbd.tar.gz
gentoo-2-f67ac638f2410bcd476b86153ac534d5f36e0bbd.tar.bz2
gentoo-2-f67ac638f2410bcd476b86153ac534d5f36e0bbd.zip
Add app-arch/unzip to DEPEND
(Portage version: 2.1.2-r6)
Diffstat (limited to 'games-simulation/dangerdeep')
-rw-r--r--games-simulation/dangerdeep/ChangeLog5
-rw-r--r--games-simulation/dangerdeep/dangerdeep-0.2.0.ebuild12
2 files changed, 9 insertions, 8 deletions
diff --git a/games-simulation/dangerdeep/ChangeLog b/games-simulation/dangerdeep/ChangeLog
index 5cdd00895231..f51de9df059b 100644
--- a/games-simulation/dangerdeep/ChangeLog
+++ b/games-simulation/dangerdeep/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-simulation/dangerdeep
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/ChangeLog,v 1.2 2007/01/06 16:51:48 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/ChangeLog,v 1.3 2007/02/03 11:25:52 nyhm Exp $
+
+ 03 Feb 2007; Tristan Heaven <nyhm@gentoo.org> dangerdeep-0.2.0.ebuild:
+ Add app-arch/unzip to DEPEND
06 Jan 2007; Michael Cummings <mcummings@gentoo.org>
dangerdeep-0.2.0.ebuild:
diff --git a/games-simulation/dangerdeep/dangerdeep-0.2.0.ebuild b/games-simulation/dangerdeep/dangerdeep-0.2.0.ebuild
index 16f03010d0d7..919320b4dcdc 100644
--- a/games-simulation/dangerdeep/dangerdeep-0.2.0.ebuild
+++ b/games-simulation/dangerdeep/dangerdeep-0.2.0.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/dangerdeep-0.2.0.ebuild,v 1.3 2007/01/06 16:51:48 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/dangerdeep-0.2.0.ebuild,v 1.4 2007/02/03 11:25:52 nyhm Exp $
inherit eutils toolchain-funcs games
DESCRIPTION="a World War II German submarine simulation"
HOMEPAGE="http://www.dangerdeep.net/"
-SRC_URI="mirror://sourceforge/${PN}/dangerdeep-${PV}.tar.gz
- mirror://sourceforge/${PN}/dangerdeep-data-${PV}.zip"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ mirror://sourceforge/${PN}/${PN}-data-${PV}.zip"
LICENSE="GPL-2 CCPL-Attribution-NonCommercial-NoDerivs-2.0"
SLOT="0"
@@ -22,11 +22,11 @@ RDEPEND="virtual/opengl
media-libs/sdl-image
media-libs/sdl-net"
DEPEND="${RDEPEND}
+ app-arch/unzip
dev-util/scons"
src_unpack() {
unpack ${A}
- mv "${WORKDIR}"/data "${S}" || die "mv failed"
cd "${S}"
epatch "${FILESDIR}/${P}-build.patch"
sed -i \
@@ -45,8 +45,6 @@ src_compile() {
scons \
usex86sse=${sse} \
datadir="${GAMES_DATADIR}"/${PN} \
- DESTDIR="${D}" \
- --cache-disable \
|| die "scons failed"
}
@@ -54,7 +52,7 @@ src_install() {
dogamesbin build/linux/${PN} || die "dogamesbin failed"
insinto "${GAMES_DATADIR}"/${PN}
- doins -r data/* || die "doins failed"
+ doins -r ../data/* || die "doins failed"
newicon logo.xpm ${PN}.xpm
make_desktop_entry ${PN} "Danger from the Deep" ${PN}.xpm