/[gentoo-x86]/games-arcade/cavezofphear/cavezofphear-0.5.1.ebuild
Gentoo

Contents of /games-arcade/cavezofphear/cavezofphear-0.5.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Oct 31 20:51:02 2014 UTC (6 years, 1 month ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +4 -3 lines
build with ncurses[tinfo] (bug #527606)

(Portage version: 2.2.8-r2/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-arcade/cavezofphear/cavezofphear-0.5.1.ebuild,v 1.5 2014/08/03 18:40:26 ago Exp $
4
5 EAPI=5
6 inherit eutils games
7
8 DESCRIPTION="A boulder dash / digger-like game for console using ncurses"
9 HOMEPAGE="http://www.x86.no/cavezofphear/"
10 SRC_URI="http://www.x86.no/${PN}/${P/cavezof}.tar.bz2"
11
12 LICENSE="GPL-3"
13 SLOT="0"
14 KEYWORDS="amd64 ppc ppc64 ~sparc x86 ~x86-fbsd"
15 IUSE=""
16
17 RDEPEND=">=sys-libs/ncurses-5"
18 DEPEND="${RDEPEND}
19 virtual/pkgconfig"
20
21 S=${WORKDIR}/${P/cavezof/}
22
23 src_prepare() {
24 epatch "${FILESDIR}"/${P}-gentoo.patch
25 sed -i \
26 -e "s:get_data_dir(.):\"${GAMES_DATADIR}/${PN}/\":" \
27 src/{chk.c,main.c,gplot.c} \
28 || die
29 }
30
31 src_install() {
32 dogamesbin src/phear
33 insinto "${GAMES_DATADIR}"/${PN}
34 doins -r data/*
35 dodoc ChangeLog README* TODO
36 prepgamesdirs
37 }

  ViewVC Help
Powered by ViewVC 1.1.20