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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Sun Jun 18 14:10:05 2006 UTC (12 years, 6 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.1_pre1)

1 mr_bones_ 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 mr_bones_ 1.5 # $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/scourge-0.12.ebuild,v 1.4 2006/05/21 21:07:05 tupone Exp $
4 mr_bones_ 1.1
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 tupone 1.2 DEPEND="|| (
17     (
18     x11-libs/libXmu
19     x11-libs/libXi
20     )
21     virtual/x11
22     )
23     sys-libs/zlib
24 mr_bones_ 1.1 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 tupone 1.4 cd "${S}"
34     find data -type f -exec chmod a-x \{\} \;
35     epatch "${FILESDIR}/${P}"-gcc41.patch
36 mr_bones_ 1.1 }
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 mr_bones_ 1.3 newicon assets/scourge.png scourge.png
48 mr_bones_ 1.1 insinto "${GAMES_DATADIR}/${PN}"
49     doins -r data/ || die "doins failed"
50     dodoc AUTHORS README
51 mr_bones_ 1.3 make_desktop_entry scourge Scourge
52 mr_bones_ 1.1 prepgamesdirs
53     }

  ViewVC Help
Powered by ViewVC 1.1.20