/[gentoo-x86]/games-puzzle/tod/tod-0.ebuild
Gentoo

Contents of /games-puzzle/tod/tod-0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Oct 14 06:18:33 2011 UTC (19 months, 1 week ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +4 -3 lines
Use a SLOT dep instead of "<" for allegro.

(Portage version: 2.2.0_alpha65/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/tod/tod-0.ebuild,v 1.6 2011/06/15 16:47:06 mr_bones_ Exp $
4
5 EAPI="2"
6
7 inherit eutils games
8
9 DESCRIPTION="Tetanus On Drugs simulates playing a Tetris clone under the influence of hallucinogenic drugs"
10 HOMEPAGE="http://www.pineight.com/tod/"
11 SRC_URI="http://www.pineight.com/pc/win${PN}.zip"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 x86"
16 IUSE=""
17
18 RDEPEND="media-libs/allegro:0[X]"
19 DEPEND="${RDEPEND}
20 app-arch/unzip"
21
22 S=${WORKDIR}
23
24 src_prepare() {
25 epatch "${FILESDIR}"/${P}-makefile.patch
26 sed -i \
27 -e "s:idltd\.dat:${GAMES_DATADIR}/${PN}/idltd.dat:" \
28 rec.c || die "sed failed"
29 }
30
31 src_install() {
32 newgamesbin tod-debug.exe tod || die
33 insinto "${GAMES_DATADIR}"/${PN}
34 doins idltd.dat || die
35 dodoc readme.txt
36 prepgamesdirs
37 }

  ViewVC Help
Powered by ViewVC 1.1.13