/[gentoo-x86]/games-rpg/tmw/tmw-0.0.24.1.ebuild
Gentoo

Contents of /games-rpg/tmw/tmw-0.0.24.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Aug 21 20:53:02 2008 UTC (11 years, 10 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
version bump
(Portage version: 2.1.4.4)

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-rpg/tmw/tmw-0.0.24.1.ebuild,v 1.1 2008/04/27 04:47:08 mr_bones_ Exp $
4
5 inherit eutils games
6
7 MUSIC=tmwmusic-0.0.20
8 DESCRIPTION="A fully free and open source MMORPG game with the looks of \"old-fashioned\" 2D RPG"
9 HOMEPAGE="http://themanaworld.org/"
10 SRC_URI="mirror://sourceforge/themanaworld/${P}.tar.gz
11 mirror://sourceforge/themanaworld/${MUSIC}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~x86"
16 IUSE="opengl"
17
18 DEPEND=">=dev-games/physfs-1.0.0
19 opengl? ( virtual/opengl )
20 dev-libs/libxml2
21 media-libs/sdl-mixer
22 media-libs/sdl-image
23 media-libs/sdl-net
24 net-misc/curl
25 >=dev-games/guichan-0.7.0"
26
27 pkg_setup() {
28 games_pkg_setup
29 if ! built_with_use dev-games/guichan sdl ; then
30 eerror "dev-games/guichan needs to be built with USE=sdl"
31 die "please re-emerge dev-games/guichan with USE=sdl"
32 fi
33 if ! built_with_use media-libs/sdl-mixer vorbis ; then
34 eerror "media-libs/sdl-mixer needs to be built with USE=vorbis"
35 die "please re-emerge media-libs/sdl-mixer with USE=vorbis"
36 fi
37 }
38
39 src_unpack() {
40 unpack ${A}
41 cd "${S}"
42 epatch "${FILESDIR}"/${P}-desktop.patch
43 }
44
45 src_compile() {
46 egamesconf \
47 --disable-dependency-tracking \
48 $(use_with opengl) || die
49 emake || die
50 }
51
52 src_install() {
53 emake DESTDIR="${D}" install || die "make install failed"
54 dodoc AUTHORS ChangeLog NEWS README
55 cd "${WORKDIR}"
56 insinto "${GAMES_DATADIR}"/${PN}/data/music
57 doins ${MUSIC}/data/music/*.ogg || die
58 newdoc ${MUSIC}/README README.music
59 prepgamesdirs
60 }

  ViewVC Help
Powered by ViewVC 1.1.20