/[gentoo-x86]/games-roguelike/scourge/scourge-0.13.ebuild
Gentoo

Contents of /games-roguelike/scourge/scourge-0.13.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jun 18 14:10:06 2006 UTC (12 years ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.1_pre1)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/scourge-0.13.ebuild,v 1.1 2006/06/01 21:24:45 tupone Exp $
4
5 inherit eutils games
6
7 DESCRIPTION="A rogue-like adventure game to eliminate pests"
8 HOMEPAGE="http://scourge.sf.net"
9 SRC_URI="mirror://sourceforge/scourge/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~x86"
14 IUSE=""
15
16 DEPEND="|| (
17 (
18 x11-libs/libXmu
19 x11-libs/libXi
20 )
21 virtual/x11
22 )
23 sys-libs/zlib
24 virtual/glu
25 virtual/opengl
26 >=media-libs/freetype-2
27 >=media-libs/libsdl-1.2
28 media-libs/sdl-net
29 media-libs/sdl-mixer"
30
31 src_unpack() {
32 unpack ${A}
33 cd "${S}"
34 find data -type f -exec chmod a-x \{\} \;
35 epatch "${FILESDIR}/${P}"-gcc41.patch
36 }
37
38 src_compile() {
39 egamesconf \
40 --with-data-dir="${GAMES_DATADIR}/${PN}/data" \
41 || die
42 emake || die "emake failed"
43 }
44
45 src_install() {
46 dogamesbin src/scourge || die "dogamesbin failed"
47 newicon assets/scourge.png scourge.png
48 insinto "${GAMES_DATADIR}/${PN}"
49 doins -r data/ || die "doins failed"
50 dodoc AUTHORS README
51 make_desktop_entry scourge Scourge
52 prepgamesdirs
53 }

  ViewVC Help
Powered by ViewVC 1.1.20