/[gentoo-x86]/games-arcade/afternoonstalker/afternoonstalker-1.1.1.ebuild
Gentoo

Contents of /games-arcade/afternoonstalker/afternoonstalker-1.1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sun Sep 20 06:51:04 2009 UTC (11 years ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.6.13/cvs/Linux i686)

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-arcade/afternoonstalker/afternoonstalker-1.1.1.ebuild,v 1.6 2008/01/17 07:06:53 tupone Exp $
4
5 inherit autotools eutils games
6
7 DESCRIPTION="Clone of the 1981 Night Stalker video game by Mattel Electronics"
8 HOMEPAGE="http://www3.sympatico.ca/sarrazip/dev/afternoonstalker.html"
9 SRC_URI="http://www3.sympatico.ca/sarrazip/dev/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc x86 ~x86-fbsd"
14 IUSE=""
15
16 RDEPEND="media-libs/libsdl
17 media-libs/sdl-image
18 media-libs/sdl-mixer
19 dev-games/flatzebra"
20 DEPEND="${RDEPEND}
21 dev-util/pkgconfig"
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26 sed -i \
27 -e "/^pkgsounddir/ s:sounds.*:\$(PACKAGE)/sounds:" \
28 -e "/^desktopentrydir/ s:=.*:=/usr/share/applications:" \
29 -e "/^pixmapdir/ s:=.*:=/usr/share/pixmaps:" \
30 src/Makefile.am \
31 || die "sed failed"
32 sed -i \
33 -e '/^docdir/d' \
34 -e '/INSTALL/d' \
35 -e '/COPYING/d' \
36 Makefile.am \
37 || die "sed failed"
38 AT_M4DIR=macros eautoreconf
39 }
40
41 src_compile() {
42 egamesconf \
43 --disable-dependency-tracking \
44 --docdir=/usr/share/doc/${PF} \
45 || die
46 emake || die "emake failed"
47 }
48
49 src_install() {
50 emake DESTDIR="${D}" install || die "emake install failed"
51 prepalldocs
52 prepgamesdirs
53 }

  ViewVC Help
Powered by ViewVC 1.1.20