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

Contents of /games-rpg/tmw/tmw-0.0.16-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Jan 2 01:04:25 2006 UTC (14 years, 4 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
old

1 # Copyright 1999-2005 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.16-r1.ebuild,v 1.1 2005/10/02 08:29:59 vapier 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 ~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 net-misc/curl
24 >=dev-games/guichan-0.4.0"
25
26 pkg_setup() {
27 if ! built_with_use dev-games/guichan sdl ; then
28 eerror "dev-games/guichan needs to be built with USE=sdl"
29 die "please re-emerge guichan with USE=sdl"
30 fi
31 games_pkg_setup
32 }
33
34 src_unpack() {
35 unpack ${P}.tar.gz
36 cp "${DISTDIR}"/tmw-Magick-Real.ogg . || die
37 cd "${S}"
38 epatch "${FILESDIR}"/${PN}-0.0.12-desktop.patch
39 }
40
41 src_compile() {
42 egamesconf $(use_with opengl) || die
43 emake || die
44 }
45
46 src_install() {
47 make DESTDIR="${D}" install || die "install failed"
48 insinto "${GAMES_DATADIR}"/${PN}/data/music
49 newins "${WORKDIR}"/tmw-Magick-Real.ogg "Magick - Real.ogg" || die
50 dodoc AUTHORS ChangeLog NEWS README TODO
51 prepgamesdirs
52 }

  ViewVC Help
Powered by ViewVC 1.1.20