summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2015-01-05 18:21:28 +0000
committerAlfredo Tupone <tupone@gentoo.org>2015-01-05 18:21:28 +0000
commit04a6974bfa726d1e0b0a4b6f1a3ac6926c83a895 (patch)
treecd445f4af76721bcb1d40aab6a8e1693ed08a97d /games-arcade
parentbetter readable description (diff)
downloadgentoo-2-04a6974bfa726d1e0b0a4b6f1a3ac6926c83a895.tar.gz
gentoo-2-04a6974bfa726d1e0b0a4b6f1a3ac6926c83a895.tar.bz2
gentoo-2-04a6974bfa726d1e0b0a4b6f1a3ac6926c83a895.zip
EAPI 5
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0145142D)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/snake3d/ChangeLog7
-rw-r--r--games-arcade/snake3d/snake3d-0.9.ebuild16
2 files changed, 12 insertions, 11 deletions
diff --git a/games-arcade/snake3d/ChangeLog b/games-arcade/snake3d/ChangeLog
index 4eab83b1209e..88ff83682636 100644
--- a/games-arcade/snake3d/ChangeLog
+++ b/games-arcade/snake3d/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-arcade/snake3d
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/snake3d/ChangeLog,v 1.5 2010/09/16 16:52:45 scarabeus Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/snake3d/ChangeLog,v 1.6 2015/01/05 18:21:28 tupone Exp $
+
+ 05 Jan 2015; Tupone Alfredo <tupone@gentoo.org> snake3d-0.9.ebuild:
+ EAPI 5
16 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org> snake3d-0.9.ebuild:
virtual/glut -> media-libs/glut
diff --git a/games-arcade/snake3d/snake3d-0.9.ebuild b/games-arcade/snake3d/snake3d-0.9.ebuild
index 68eba28a4f9b..913258803023 100644
--- a/games-arcade/snake3d/snake3d-0.9.ebuild
+++ b/games-arcade/snake3d/snake3d-0.9.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/snake3d/snake3d-0.9.ebuild,v 1.5 2010/09/16 16:52:45 scarabeus Exp $
-
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/snake3d/snake3d-0.9.ebuild,v 1.6 2015/01/05 18:21:28 tupone Exp $
+EAPI=5
inherit eutils toolchain-funcs games
DESCRIPTION="variant of the snake game"
@@ -18,23 +18,21 @@ DEPEND="media-libs/sdl-net
media-libs/freeglut
virtual/glu
media-libs/libsdl"
-
+RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch \
"${FILESDIR}"/${P}-amd64.patch \
"${FILESDIR}"/${P}-build.patch
}
src_compile() {
- emake CXX=$(tc-getCXX) -C src snake3d.linux || die "emake failed"
+ emake CXX=$(tc-getCXX) -C src snake3d.linux
}
src_install() {
- dogamesbin ${PN} || die "dogamesbin failed"
+ dogamesbin ${PN}
dodoc ChangeLog README TODO
prepgamesdirs
}