/[gentoo-x86]/games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild
Gentoo

Contents of /games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Sun Feb 8 09:34:32 2015 UTC (2 years, 10 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +3 -3 lines
Stable for amd64, wrt bug #539300

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="amd64", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild,v 1.10 2014/11/19 05:01:17 mr_bones_ Exp $
4
5 EAPI=5
6 inherit eutils games
7
8 DESCRIPTION="NGStar is a clone of a HP48 game called dstar"
9 HOMEPAGE="http://freshmeat.net/projects/ngstar"
10 SRC_URI="mirror://gentoo//${P}-src.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE=""
16
17 RDEPEND="sys-libs/ncurses
18 sys-libs/gpm"
19 DEPEND="${RDEPEND}
20 virtual/pkgconfig"
21
22 src_prepare() {
23 epatch \
24 "${FILESDIR}"/${P}-gentoo-path.patch \
25 "${FILESDIR}"/${P}-gcc43.patch \
26 "${FILESDIR}"/${P}-gcc47.patch \
27 "${FILESDIR}"/${P}-ldflags.patch
28 sed -i \
29 -e "s:@GENTOO_DATA@:${GAMES_DATADIR}:" \
30 -e "s:@GENTOO_BIN@:${GAMES_BINDIR}:" \
31 -e "/^CPPFLAGS/s:+=:+= ${CXXFLAGS}:" \
32 -e "/SILENT/d" \
33 configure || die
34 }
35
36 src_configure() {
37 ./configure \
38 --prefix "" \
39 --without-fltk2 || die
40 }
41
42 src_install() {
43 default
44 prepgamesdirs
45 }

  ViewVC Help
Powered by ViewVC 1.1.20