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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Aug 1 22:26:11 2006 UTC (14 years ago) by mr_bones_
Branch: MAIN
Changes since 1.1: +2 -2 lines
needs guichan-0.4
(Portage version: 2.1.1_pre4-r1)

1 mr_bones_ 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 mr_bones_ 1.2 # $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/tmw-0.0.20.ebuild,v 1.1 2006/07/25 19:30:01 mr_bones_ Exp $
4 mr_bones_ 1.1
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 mr_bones_ 1.2 ~dev-games/guichan-0.4.0"
26 mr_bones_ 1.1
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