summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-03-26 18:25:07 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-03-26 18:25:07 +0000
commit2b43f2649f3af776bfa77edc5493127e80c51661 (patch)
treec2fd670e2a7f79cc1e138fc91f2740f3429b61d2 /games-sports
parentold (diff)
downloadgentoo-2-2b43f2649f3af776bfa77edc5493127e80c51661.tar.gz
gentoo-2-2b43f2649f3af776bfa77edc5493127e80c51661.tar.bz2
gentoo-2-2b43f2649f3af776bfa77edc5493127e80c51661.zip
EAPI=5
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/gracer/ChangeLog5
-rw-r--r--games-sports/gracer/gracer-0.1.5.ebuild36
2 files changed, 21 insertions, 20 deletions
diff --git a/games-sports/gracer/ChangeLog b/games-sports/gracer/ChangeLog
index aaf2934e2b7a..ea0d4a4d240a 100644
--- a/games-sports/gracer/ChangeLog
+++ b/games-sports/gracer/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-sports/gracer
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/gracer/ChangeLog,v 1.23 2015/03/25 15:38:03 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/gracer/ChangeLog,v 1.24 2015/03/26 18:25:07 mr_bones_ Exp $
+
+ 26 Mar 2015; Michael Sterrett <mr_bones_@gentoo.org> gracer-0.1.5.ebuild:
+ EAPI=5
25 Mar 2015; Justin Lecher <jlec@gentoo.org> gracer-0.1.5.ebuild:
Fix tcl/tk slotting
diff --git a/games-sports/gracer/gracer-0.1.5.ebuild b/games-sports/gracer/gracer-0.1.5.ebuild
index 239fb0b5b1c7..dc061946af32 100644
--- a/games-sports/gracer/gracer-0.1.5.ebuild
+++ b/games-sports/gracer/gracer-0.1.5.ebuild
@@ -1,9 +1,8 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/gracer/gracer-0.1.5.ebuild,v 1.23 2015/03/25 15:38:03 jlec Exp $
-
-EAPI=2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/gracer/gracer-0.1.5.ebuild,v 1.24 2015/03/26 18:25:07 mr_bones_ Exp $
+EAPI=5
inherit eutils games
DESCRIPTION="3D motor sports simulator"
@@ -25,18 +24,18 @@ DEPEND="
x11-libs/libXmu
virtual/glu
virtual/opengl
- virtual/jpeg
- "
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PV}-gldefs.patch
- "${FILESDIR}"/${PN}-gcc-3.4.patch
- "${FILESDIR}/${P}"-gcc41.patch
- "${FILESDIR}"/${P}-as-needed.patch
- "${FILESDIR}"/${P}-libpng14.patch
- "${FILESDIR}"/${P}-png15.patch
- )
+ virtual/jpeg"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PV}-gldefs.patch \
+ "${FILESDIR}"/${PN}-gcc-3.4.patch \
+ "${FILESDIR}/${P}"-gcc41.patch \
+ "${FILESDIR}"/${P}-as-needed.patch \
+ "${FILESDIR}"/${P}-libpng14.patch \
+ "${FILESDIR}"/${P}-png15.patch
+}
src_configure() {
egamesconf \
@@ -45,12 +44,11 @@ src_configure() {
--enable-png \
$(use_enable joystick)
sed -i \
- -e 's:-lplibsl:-lplibsl -lplibul:' $(find -name Makefile) \
- || die "sed Makefiles failed"
+ -e 's:-lplibsl:-lplibsl -lplibul:' \
+ $(find -name Makefile) || die
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog NEWS README
+ default
prepgamesdirs
}