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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Jan 16 20:34:40 2007 UTC (13 years, 4 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
clean out older versions
(Portage version: 2.1.1-r2)
 (Unsigned Manifest commit)

1 # Copyright 1999-2006 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.21.ebuild,v 1.1 2006/09/19 16:43:31 mr_bones_ Exp $
4
5 inherit eutils games
6
7 DESCRIPTION="A fully free and open source MMORPG game with the looks of \"old-fashioned\" 2D RPG"
8 HOMEPAGE="http://themanaworld.org/"
9 SRC_URI="mirror://sourceforge/themanaworld/${P}.tar.gz
10 mirror://gentoo/tmw-Magick-Real.ogg"
11 # http://riekale.com/~rotonen/tmw/data/music/Magick%20-%20Real.ogg"
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.5.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 guichan with USE=sdl"
32 fi
33 }
34
35 src_unpack() {
36 unpack ${P}.tar.gz
37 cp "${DISTDIR}"/tmw-Magick-Real.ogg . || die
38 cd "${S}"
39 epatch "${FILESDIR}"/${PN}-0.0.12-desktop.patch
40 }
41
42 src_compile() {
43 egamesconf $(use_with opengl) || die
44 emake || die
45 }
46
47 src_install() {
48 make DESTDIR="${D}" install || die "install failed"
49 insinto "${GAMES_DATADIR}"/${PN}/data/music
50 newins "${WORKDIR}"/tmw-Magick-Real.ogg "Magick - Real.ogg" || die
51 dodoc AUTHORS ChangeLog NEWS README
52 prepgamesdirs
53 }

  ViewVC Help
Powered by ViewVC 1.1.20