/[gentoo-x86]/games-engines/sarien/sarien-0.7.0.ebuild
Gentoo

Contents of /games-engines/sarien/sarien-0.7.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Thu May 15 12:38:14 2008 UTC (6 years, 2 months ago) by nyhm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +2 -3 lines
drop virtual/libc dep
(Portage version: 2.1.5_rc10)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-engines/sarien/sarien-0.7.0.ebuild,v 1.10 2008/03/07 01:10:56 wolf31o2 Exp $
4
5 inherit games
6
7 DESCRIPTION="Sierra AGI resource interpreter engine"
8 HOMEPAGE="http://sarien.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/sarien/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ppc x86"
14 IUSE=""
15
16 RDEPEND="x11-libs/libXext"
17 DEPEND="${RDEPEND}
18 x11-proto/xextproto
19 x11-proto/xf86dgaproto
20 x11-proto/xf86vidmodeproto"
21
22 src_unpack() {
23 unpack ${A}
24 cd "${S}"
25
26 sed -i \
27 -e "s:/etc:${GAMES_SYSCONFDIR}:" src/filesys/unix/path.c \
28 || die "sed src/filesys/unix/path.c failed"
29 }
30
31 src_compile() {
32 egamesconf || die
33 # buggy build - comments on bug #45813
34 emake -j1 || die "emake failed"
35 }
36
37 src_install() {
38 dogamesbin bin/sarien || die "dogamesbin failed"
39 insinto "${GAMES_SYSCONFDIR}"
40 doins etc/sarien.cfg || die "doins failed"
41 dodoc doc/{AUTHORS,BUGS,Changelog,README*,TODO,roadmap.txt}
42 prepgamesdirs
43 }

  ViewVC Help
Powered by ViewVC 1.1.20