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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Wed Jun 22 04:40:39 2005 UTC (13 years, 2 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
clean old versions
(Portage version: 2.0.51.19)

1 # Copyright 1999-2005 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.1.ebuild,v 1.6 2005/01/28 16:07:52 wolf31o2 Exp $
4
5 inherit games
6
7 S="${WORKDIR}/${P/-/_}"
8 DESCRIPTION="A rogue-like adventure game to eliminate pests"
9 HOMEPAGE="http://scourge.sf.net"
10 SRC_URI="mirror://sourceforge/scourge/${P}.tar.gz"
11
12 KEYWORDS="x86 ~ppc amd64"
13 LICENSE="GPL-2"
14 SLOT="0"
15 IUSE=""
16
17 RDEPEND="virtual/x11
18 virtual/glut
19 virtual/opengl
20 >=media-libs/libsdl-1.2"
21 DEPEND="${RDEPEND}
22 >=sys-apps/sed-4"
23
24 src_unpack() {
25 unpack ${A}
26 cd ${S}/src
27 sed -i \
28 -e "s:\"data/:\"${GAMES_DATADIR}/${PN}/data/:g" \
29 shapepalette.cpp text.cpp \
30 || die "sed failed"
31 }
32
33 src_install() {
34 dogamesbin scourge || die "dogamesbin failed"
35 dodir "${GAMES_DATADIR}/${PN}"
36 cp -r data/ "${D}${GAMES_DATADIR}/${PN}" || die "cp failed"
37 dodoc AUTHORS README || die "dodoc failed"
38 prepgamesdirs
39 }

  ViewVC Help
Powered by ViewVC 1.1.20