/[gentoo-x86]/games-strategy/asc/asc-2.5.0.0.ebuild
Gentoo

Diff of /games-strategy/asc/asc-2.5.0.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/games-strategy/asc/asc-2.5.0.0.ebuild,v 1.3 2012/06/22 07:45:30 jdhore Exp $ 3# $Header: /var/cvsroot/gentoo-x86/games-strategy/asc/asc-2.5.0.0.ebuild,v 1.4 2012/10/30 15:07:24 tupone Exp $
4 4
5EAPI=2 5EAPI=4
6WX_GTK_VER=2.8 6WX_GTK_VER=2.8
7inherit toolchain-funcs flag-o-matic wxwidgets games 7inherit eutils toolchain-funcs flag-o-matic wxwidgets games
8 8
9DESCRIPTION="turn based strategy game designed in the tradition of the Battle Isle series" 9DESCRIPTION="turn based strategy game designed in the tradition of the Battle Isle series"
10HOMEPAGE="http://www.asc-hq.org/" 10HOMEPAGE="http://www.asc-hq.org/"
11SRC_URI="mirror://sourceforge/asc-hq/${P}.tar.bz2 11SRC_URI="mirror://sourceforge/asc-hq/${P}.tar.bz2
12 http://www.asc-hq.org/music/frontiers.ogg 12 http://www.asc-hq.org/music/frontiers.ogg
17SLOT="0" 17SLOT="0"
18KEYWORDS="amd64 x86" 18KEYWORDS="amd64 x86"
19IUSE="" 19IUSE=""
20 20
21RDEPEND="app-arch/bzip2 21RDEPEND="app-arch/bzip2
22 virtual/jpeg
23 media-libs/libsdl 22 media-libs/libsdl
24 media-libs/libpng 23 media-libs/libpng
25 media-libs/sdl-image[gif,jpeg,png] 24 media-libs/sdl-image[gif,jpeg,png]
26 media-libs/sdl-mixer[vorbis] 25 media-libs/sdl-mixer[vorbis]
27 media-libs/sdl-sound 26 media-libs/sdl-sound
28 dev-libs/boost 27 dev-libs/boost
29 dev-games/physfs 28 dev-games/physfs
30 media-libs/libvorbis
31 media-libs/xvid 29 media-libs/xvid
32 dev-libs/expat 30 dev-libs/expat
33 media-libs/freetype 31 media-libs/freetype
34 dev-lang/lua 32 dev-lang/lua
35 x11-libs/wxGTK:2.8[X] 33 x11-libs/wxGTK:2.8[X]
36 dev-libs/libsigc++:1.2" 34 dev-libs/libsigc++:1.2"
35
37DEPEND="${RDEPEND} 36DEPEND="${RDEPEND}
38 dev-lang/perl 37 dev-lang/perl
39 virtual/pkgconfig 38 virtual/pkgconfig
40 app-arch/zip" 39 app-arch/zip"
40
41PATCHES=( "${FILESDIR}"/${P}-gcc47.patch )
41 42
42src_unpack() { 43src_unpack() {
43 local f 44 local f
44 45
45 unpack ${P}.tar.bz2 46 unpack ${P}.tar.bz2
59 # and the case is well documented at http://www.asc-hq.org/ 60 # and the case is well documented at http://www.asc-hq.org/
60 if [[ $(gcc-major-version) -eq 4 ]] ; then 61 if [[ $(gcc-major-version) -eq 4 ]] ; then
61 replace-flags -O3 -O2 62 replace-flags -O3 -O2
62 fi 63 fi
63 egamesconf \ 64 egamesconf \
64 --disable-dependency-tracking \
65 --disable-paraguitest \ 65 --disable-paraguitest \
66 --disable-paragui \ 66 --disable-paragui \
67 --datadir="${GAMES_DATADIR_BASE}" 67 --datadir="${GAMES_DATADIR_BASE}"
68} 68}
69 69
70src_install() { 70src_install() {
71 emake DESTDIR="${D}" install || die "emake install failed" 71 default
72 dodoc AUTHORS ChangeLog README TODO
73 dohtml -r doc/* 72 dohtml -r doc/*
74 prepgamesdirs 73 prepgamesdirs
75} 74}

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20