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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Mar 11 21:41:12 2006 UTC (14 years, 5 months ago) by mr_bones_
Branch: MAIN
version bump
(Portage version: 2.1_pre5-r4)

1 mr_bones_ 1.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.18.1.ebuild,v 1.2 2006/01/08 22:10:47 dertobi123 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.4.0"
26    
27     pkg_setup() {
28     if ! built_with_use dev-games/guichan sdl ; then
29     eerror "dev-games/guichan needs to be built with USE=sdl"
30     die "please re-emerge guichan with USE=sdl"
31     fi
32     games_pkg_setup
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