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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Aug 13 21:54:28 2007 UTC (12 years, 11 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.2.11)

1 # Copyright 1999-2007 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.22.2.ebuild,v 1.1 2007/03/13 19:14:31 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.6.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}"/${PN}-0.0.12-desktop.patch
43 }
44
45 src_compile() {
46 egamesconf $(use_with opengl) || die
47 emake || die
48 }
49
50 src_install() {
51 emake DESTDIR="${D}" install || die "make install failed"
52 dodoc AUTHORS ChangeLog NEWS README
53 cd ${WORKDIR}
54 insinto "${GAMES_DATADIR}"/${PN}/data/music
55 doins ${MUSIC}/data/music/*.ogg || die
56 newdoc ${MUSIC}/README README.music
57 prepgamesdirs
58 }

  ViewVC Help
Powered by ViewVC 1.1.20