summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2013-06-29 17:19:56 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2013-06-29 17:19:56 +0000
commit5961a103fd34dba99fadd9d182d294d5619a171a (patch)
tree80065a485104e49cf7b858824d7d62fb80f763c2 /games-board
parentadd slot to libsdl dep (diff)
downloadgentoo-2-5961a103fd34dba99fadd9d182d294d5619a171a.tar.gz
gentoo-2-5961a103fd34dba99fadd9d182d294d5619a171a.tar.bz2
gentoo-2-5961a103fd34dba99fadd9d182d294d5619a171a.zip
add slot to libsdl dep
(Portage version: 2.1.12.2/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/atakks/ChangeLog8
-rw-r--r--games-board/atakks/atakks-1.0.ebuild14
2 files changed, 12 insertions, 10 deletions
diff --git a/games-board/atakks/ChangeLog b/games-board/atakks/ChangeLog
index b7fa5b3d4f1c..ea441d484e48 100644
--- a/games-board/atakks/ChangeLog
+++ b/games-board/atakks/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/atakks
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/atakks/ChangeLog,v 1.9 2009/02/03 09:11:40 tupone Exp $
+# Copyright 2000-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/atakks/ChangeLog,v 1.10 2013/06/29 17:19:56 mr_bones_ Exp $
+
+ 29 Jun 2013; Michael Sterrett <mr_bones_@gentoo.org> atakks-1.0.ebuild:
+ add slot to libsdl dep
03 Feb 2009; Alfredo Tupone <tupone@gentoo.org>
+files/atakks-1.0-as-needed.patch, atakks-1.0.ebuild:
@@ -30,4 +33,3 @@
02 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> atakks-1.0.ebuild,
metadata.xml:
initial commit - ebuild from Alexandru Toma via bug #52665
-
diff --git a/games-board/atakks/atakks-1.0.ebuild b/games-board/atakks/atakks-1.0.ebuild
index d0c381f63bd2..4972ee7feac0 100644
--- a/games-board/atakks/atakks-1.0.ebuild
+++ b/games-board/atakks/atakks-1.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/atakks/atakks-1.0.ebuild,v 1.9 2009/02/03 09:11:40 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/atakks/atakks-1.0.ebuild,v 1.10 2013/06/29 17:19:56 mr_bones_ Exp $
EAPI=2
inherit eutils games
@@ -17,7 +17,7 @@ SLOT="0"
KEYWORDS="~amd64 ppc x86"
IUSE=""
-DEPEND="media-libs/libsdl"
+DEPEND="media-libs/libsdl:0"
S=${WORKDIR}/${MY_P}
@@ -25,20 +25,20 @@ src_prepare() {
# Modify game data paths
sed -i \
-e "s:SDL_LoadBMP(\":SDL_LoadBMP(\"${GAMES_DATADIR}/${PN}/:" \
- main.c || die "sed failed"
+ main.c || die
epatch "${FILESDIR}"/${PV}-warnings.patch \
"${FILESDIR}"/${P}-as-needed.patch
}
src_compile() {
- emake E_CFLAGS="${CFLAGS}" || die "emake failed"
+ emake E_CFLAGS="${CFLAGS}" || die
}
src_install() {
- dogamesbin ${PN} || die "dogamesbin failed"
+ dogamesbin ${PN} || die
insinto "${GAMES_DATADIR}"/${PN}
- doins *bmp || die "doins failed"
+ doins *bmp || die
newicon icon.bmp ${PN}.bmp
make_desktop_entry ${PN} Atakks /usr/share/pixmaps/${PN}.bmp
prepgamesdirs