summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-06-29 19:24:31 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-06-29 19:24:31 +0000
commit20f965b393a77ed7a3336a40adac00d4744f8aee (patch)
tree3cc13aab22494b2df9250f62bb8b054a4b941ab9 /games-roguelike/fargoal
parentFixed binaries being pre-stripped. Thanks to Tristan Heaven <tristanheaven@g... (diff)
downloadgentoo-2-20f965b393a77ed7a3336a40adac00d4744f8aee.tar.gz
gentoo-2-20f965b393a77ed7a3336a40adac00d4744f8aee.tar.bz2
gentoo-2-20f965b393a77ed7a3336a40adac00d4744f8aee.zip
Fixed binaries being pre-stripped. Thanks to Tristan Heaven <tristanheaven@gmail.com> for the patch. Closing bug #137753.
(Portage version: 2.1.1_pre1-r2)
Diffstat (limited to 'games-roguelike/fargoal')
-rw-r--r--games-roguelike/fargoal/ChangeLog9
-rw-r--r--games-roguelike/fargoal/fargoal-20040629.ebuild14
2 files changed, 14 insertions, 9 deletions
diff --git a/games-roguelike/fargoal/ChangeLog b/games-roguelike/fargoal/ChangeLog
index 746479f9d4f6..d1f7a2bd8ad2 100644
--- a/games-roguelike/fargoal/ChangeLog
+++ b/games-roguelike/fargoal/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-roguelike/fargoal
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/fargoal/ChangeLog,v 1.6 2005/06/27 18:50:51 blubb Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/fargoal/ChangeLog,v 1.7 2006/06/29 19:24:31 wolf31o2 Exp $
+
+ 29 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ fargoal-20040629.ebuild:
+ Fixed binaries being pre-stripped. Thanks to Tristan Heaven
+ <tristanheaven@gmail.com> for the patch. Closing bug #137753.
27 Jun 2005; Simon Stelling <blubb@gentoo.org> fargoal-20040629.ebuild:
added ~amd64 keyword
diff --git a/games-roguelike/fargoal/fargoal-20040629.ebuild b/games-roguelike/fargoal/fargoal-20040629.ebuild
index 340758b9dc82..24cff139b633 100644
--- a/games-roguelike/fargoal/fargoal-20040629.ebuild
+++ b/games-roguelike/fargoal/fargoal-20040629.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/fargoal/fargoal-20040629.ebuild,v 1.2 2005/06/27 18:50:51 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/fargoal/fargoal-20040629.ebuild,v 1.3 2006/06/29 19:24:31 wolf31o2 Exp $
inherit eutils games
DESCRIPTION="The Sword of Fargoal - a remake of C64's old dungeon crawler game"
HOMEPAGE="http://squidfighter.sourceforge.net/fargoal/"
-SRC_URI="mirror://sourceforge/squidfighter/${PN}${PV}.zip"
+SRC_URI="mirror://sourceforge/squidfighter/${P/-}.zip"
LICENSE="as-is"
SLOT="0"
@@ -24,7 +24,8 @@ src_unpack() {
cd "${S}/src"
epatch "${FILESDIR}/gentoo-home-write.patch"
sed -i \
- -e "s/^\(C\(XX\)\?FLAGS =\).*/\1 ${CFLAGS} /g" Makefile \
+ -e "s/-O3/${CFLAGS}/" \
+ -e '/^LDFLAGS/d' Makefile \
|| die "sed failed"
sed -i \
-e "s:sfx/:${GAMES_DATADIR}/${PN}/sfx/:g" \
@@ -44,9 +45,8 @@ src_install() {
# install as fargoal instead of sword since that may conflict with
# other packages.
newgamesbin sword fargoal || die "newgamesbin failed"
- dodir "${GAMES_DATADIR}/${PN}"
- cp -r agreement.txt {data,gfx,sfx} "${D}/${GAMES_DATADIR}/${PN}" \
- || die "cp failed"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r agreement.txt {data,gfx,sfx} || die "doins failed"
dohtml readme.html
prepgamesdirs
}