summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2014-11-19 06:50:10 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2014-11-19 06:50:10 +0000
commita835986ff993fc9416a071dd3146bfa5bd82413c (patch)
tree6e2d2a72982615d8cce7bbd31d1d3afde61d4491 /games-action/moon-buggy
parentVersion bump (diff)
downloadgentoo-2-a835986ff993fc9416a071dd3146bfa5bd82413c.tar.gz
gentoo-2-a835986ff993fc9416a071dd3146bfa5bd82413c.tar.bz2
gentoo-2-a835986ff993fc9416a071dd3146bfa5bd82413c.zip
build with ncurses[tinfo] (bug #529756)
(Portage version: 2.2.8-r2/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-action/moon-buggy')
-rw-r--r--games-action/moon-buggy/ChangeLog8
-rw-r--r--games-action/moon-buggy/moon-buggy-1.0.51.ebuild16
2 files changed, 13 insertions, 11 deletions
diff --git a/games-action/moon-buggy/ChangeLog b/games-action/moon-buggy/ChangeLog
index 7f597ca00907..2b235222cf33 100644
--- a/games-action/moon-buggy/ChangeLog
+++ b/games-action/moon-buggy/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-action/moon-buggy
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/moon-buggy/ChangeLog,v 1.25 2012/10/21 08:52:04 maekke Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/moon-buggy/ChangeLog,v 1.26 2014/11/19 06:50:10 mr_bones_ Exp $
+
+ 19 Nov 2014; Michael Sterrett <mr_bones_@gentoo.org> moon-buggy-1.0.51.ebuild:
+ build with ncurses[tinfo] (bug #529756)
21 Oct 2012; Markus Meier <maekke@gentoo.org> moon-buggy-1.0.51.ebuild:
add ~arm, bug #425160
@@ -101,4 +104,3 @@
24 Jun 2003; John Mylchreest <johnm@gentoo.org>; moon-buggy-0.5.53.ebuild:
Initial submission, close #23030
-
diff --git a/games-action/moon-buggy/moon-buggy-1.0.51.ebuild b/games-action/moon-buggy/moon-buggy-1.0.51.ebuild
index 3537de250dd1..3ed08e874a78 100644
--- a/games-action/moon-buggy/moon-buggy-1.0.51.ebuild
+++ b/games-action/moon-buggy/moon-buggy-1.0.51.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/moon-buggy/moon-buggy-1.0.51.ebuild,v 1.7 2012/10/21 08:52:04 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/moon-buggy/moon-buggy-1.0.51.ebuild,v 1.8 2014/11/19 06:50:10 mr_bones_ Exp $
-EAPI=2
+EAPI=5
inherit autotools eutils games
DESCRIPTION="A simple console game, where you drive a car across the moon's surface"
@@ -21,19 +21,19 @@ DEPEND="${RDEPEND}
src_prepare() {
sed -i \
-e '/$(DESTDIR)$(bindir)\/moon-buggy -c/d' \
- Makefile.am \
- || die "sed Makefile.am failed"
+ Makefile.am || die
rm -f missing
eautoreconf
}
src_configure() {
- egamesconf --sharedstatedir="${GAMES_STATEDIR}"
+ egamesconf \
+ --sharedstatedir="${GAMES_STATEDIR}" \
+ --with-curses-libs="$(pkg-config ncurses --libs)"
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc ANNOUNCE AUTHORS ChangeLog NEWS README* TODO
+ default
touch "${D}${GAMES_STATEDIR}"/${PN}/mbscore
fperms 664 "${GAMES_STATEDIR}"/${PN}/mbscore
prepgamesdirs