summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-08-11 04:32:11 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-08-11 04:32:11 +0000
commit553b04f94dd09c83ef6054bb04cd6cae78597ee5 (patch)
tree0b8cc2f92489ca9515ac27572c05953dde81731e /games-puzzle/shaaft
parentInitial commit. (diff)
downloadgentoo-2-553b04f94dd09c83ef6054bb04cd6cae78597ee5.tar.gz
gentoo-2-553b04f94dd09c83ef6054bb04cd6cae78597ee5.tar.bz2
gentoo-2-553b04f94dd09c83ef6054bb04cd6cae78597ee5.zip
Add use deps; respect CXXFLAGS; use a non-404 HOMEPAGE (bug #371689)
(Portage version: 2.1.10.3/cvs/Linux i686)
Diffstat (limited to 'games-puzzle/shaaft')
-rw-r--r--games-puzzle/shaaft/ChangeLog7
-rw-r--r--games-puzzle/shaaft/shaaft-0.5.0.ebuild22
2 files changed, 20 insertions, 9 deletions
diff --git a/games-puzzle/shaaft/ChangeLog b/games-puzzle/shaaft/ChangeLog
index 11837dbcf397..189d66c7f529 100644
--- a/games-puzzle/shaaft/ChangeLog
+++ b/games-puzzle/shaaft/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-puzzle/shaaft
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/shaaft/ChangeLog,v 1.11 2010/03/10 21:34:58 ssuominen Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/shaaft/ChangeLog,v 1.12 2011/08/11 04:32:11 mr_bones_ Exp $
+
+ 11 Aug 2011; Michael Sterrett <mr_bones_@gentoo.org> shaaft-0.5.0.ebuild:
+ Add use deps; respect CXXFLAGS; use a non-404 HOMEPAGE (bug #371689)
10 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> shaaft-0.5.0.ebuild:
Fix libpng14 detection wrt #308887 by Locke Shinseiko.
diff --git a/games-puzzle/shaaft/shaaft-0.5.0.ebuild b/games-puzzle/shaaft/shaaft-0.5.0.ebuild
index 7433b2dd5509..a6bb2282a94a 100644
--- a/games-puzzle/shaaft/shaaft-0.5.0.ebuild
+++ b/games-puzzle/shaaft/shaaft-0.5.0.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/shaaft/shaaft-0.5.0.ebuild,v 1.13 2010/03/10 21:34:58 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/shaaft/shaaft-0.5.0.ebuild,v 1.14 2011/08/11 04:32:11 mr_bones_ Exp $
EAPI=2
inherit autotools eutils games
DESCRIPTION="A falling block game similar to Blockout"
-HOMEPAGE="http://criticalmass.sourceforge.net/shaaft.php"
+HOMEPAGE="http://packages.gentoo.org/package/games-puzzle/shaaft"
SRC_URI="mirror://sourceforge/criticalmass/${P/s/S}.tar.bz2"
LICENSE="GPL-2"
@@ -17,9 +17,9 @@ IUSE=""
DEPEND="virtual/opengl
sys-libs/zlib
media-libs/libpng
- media-libs/libsdl
- media-libs/sdl-mixer
- media-libs/sdl-image"
+ media-libs/libsdl[audio,opengl,video]
+ media-libs/sdl-mixer[mikmod]
+ media-libs/sdl-image[png]"
S=${WORKDIR}/${P/s/S}
@@ -31,6 +31,8 @@ src_prepare() {
sed -i \
-e 's:png12:png:g' \
+ -e '/^CFLAGS=""/d' \
+ -e '/^CXXFLAGS=""/d' \
configure.in || die
epatch \
@@ -41,8 +43,14 @@ src_prepare() {
eautoreconf
}
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --disable-optimize
+}
+
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ emake DESTDIR="${D}" install || die
rm -f "${D}/${GAMES_BINDIR}"/Packer
dodoc TODO.txt
prepgamesdirs