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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Jun 30 03:26:42 2009 UTC (11 years ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.6.13/cvs/Linux i686)

1 # Copyright 1999-2009 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.28.ebuild,v 1.1 2009/01/26 17:58:21 mr_bones_ Exp $
4
5 EAPI=2
6 inherit eutils games
7
8 MUSIC=tmwmusic-0.0.20
9 DESCRIPTION="A fully free and open source MMORPG game with the looks of \"old-fashioned\" 2D RPG"
10 HOMEPAGE="http://themanaworld.org/"
11 SRC_URI="mirror://sourceforge/themanaworld/${P}.tar.gz
12 mirror://sourceforge/themanaworld/${MUSIC}.tar.gz"
13
14 LICENSE="GPL-2 BitstreamVera"
15 SLOT="0"
16 KEYWORDS="~amd64 ~ppc ~x86"
17 IUSE="nls opengl"
18 PATCHES=( "${FILESDIR}"/${P}-desktop.patch )
19
20 RDEPEND=">=dev-games/physfs-1.0.0
21 opengl? ( virtual/opengl )
22 dev-libs/libxml2
23 media-libs/sdl-mixer[vorbis]
24 media-libs/sdl-image[png]
25 media-libs/sdl-net
26 media-libs/sdl-ttf
27 net-misc/curl
28 sys-libs/zlib
29 media-libs/libpng
30 >=dev-games/guichan-0.8.1[sdl]"
31 DEPEND="${RDEPEND}
32 dev-util/pkgconfig"
33
34 src_configure() {
35 egamesconf \
36 --disable-dependency-tracking \
37 --localedir=/usr/share/locale \
38 $(use_enable nls) \
39 $(use_with opengl)
40 }
41
42 src_install() {
43 emake DESTDIR="${D}" install || die "emake install failed"
44 dodoc AUTHORS ChangeLog NEWS README
45 cd "${WORKDIR}"
46 insinto "${GAMES_DATADIR}"/${PN}/data/music
47 doins ${MUSIC}/data/music/*.ogg || die
48 newdoc ${MUSIC}/README README.music
49 prepgamesdirs
50 }

  ViewVC Help
Powered by ViewVC 1.1.20