/[gentoo-x86]/games-action/luola/luola-1.3.0-r1.ebuild
Gentoo

Contents of /games-action/luola/luola-1.3.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Fri Jun 17 10:25:17 2011 UTC (3 years, 3 months ago) by tupone
Branch: MAIN
Changes since 1.3: +8 -3 lines
Fix underlink. Bug #369039

(Portage version: 2.1.10.3/cvs/Linux x86_64)

1 tupone 1.4 # Copyright 1999-2011 Gentoo Foundation
2 mr_bones_ 1.1 # Distributed under the terms of the GNU General Public License v2
3 tupone 1.4 # $Header: /var/cvsroot/gentoo-x86/games-action/luola/luola-1.3.0-r1.ebuild,v 1.3 2009/01/05 17:39:11 mr_bones_ Exp $
4 mr_bones_ 1.1
5 mr_bones_ 1.3 EAPI=2
6 tupone 1.4 inherit eutils autotools games
7 mr_bones_ 1.1
8     DESCRIPTION="A 2D multiplayer arcade game resembling V-Wing"
9     HOMEPAGE="http://luolamies.org/software/luola/"
10 mr_bones_ 1.3 PATCH_SET="http://luolamies.org/software/luola/luola-1.3.0-1.patch
11 mr_bones_ 1.1 http://luolamies.org/software/luola/luola-1.3.0-2.patch"
12     SRC_URI="http://luolamies.org/software/luola/${P}.tar.gz
13 mr_bones_ 1.3 http://www.luolamies.org/software/luola/stdlevels-6.0.tar.gz
14     http://www.luolamies.org/software/luola/nostalgia-1.2.tar.gz
15     ${PATCH_SET}"
16 mr_bones_ 1.1
17     LICENSE="GPL-2"
18     SLOT="0"
19 blubb 1.2 KEYWORDS="amd64 ~ppc x86"
20 mr_bones_ 1.1 IUSE=""
21    
22     DEPEND="media-libs/libsdl
23     media-libs/sdl-gfx
24     media-libs/sdl-image
25     media-libs/sdl-mixer
26     media-libs/sdl-ttf"
27    
28 mr_bones_ 1.3 src_prepare() {
29 mr_bones_ 1.1 local p
30    
31 tupone 1.4 epatch "${FILESDIR}"/${P}-underlink.patch
32    
33 mr_bones_ 1.1 cd "${S}/src"
34 mr_bones_ 1.3 for p in ${PATCH_SET}
35 mr_bones_ 1.1 do
36     epatch "${DISTDIR}/${p##*/}"
37     done
38 tupone 1.4
39     cd ..
40     eautoreconf
41 mr_bones_ 1.1 }
42    
43 mr_bones_ 1.3 src_configure() {
44     egamesconf --enable-sound
45 mr_bones_ 1.1 }
46    
47     src_install() {
48 mr_bones_ 1.3 emake DESTDIR="${D}" install || die "emake install failed"
49 mr_bones_ 1.1 insinto "${GAMES_DATADIR}"/${PN}/levels
50     doins "${WORKDIR}"/*.{lev,png} || die "doins failed"
51     dodoc AUTHORS ChangeLog DATAFILE FAQ LEVELFILE README TODO \
52     RELEASENOTES.txt ../README.Nostalgia
53     newdoc ../README README.stdlevels
54     doicon luola.png
55     make_desktop_entry luola Luola
56     prepgamesdirs
57     }

  ViewVC Help
Powered by ViewVC 1.1.20