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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sun Oct 2 08:28:47 2005 UTC (14 years, 10 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
old

1 vapier 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 vapier 1.2 # $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/tmw-0.0.15.ebuild,v 1.1 2005/08/24 02:46:48 vapier Exp $
4 vapier 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    
11     LICENSE="GPL-2"
12     SLOT="0"
13     KEYWORDS="~amd64 ~x86"
14     IUSE="opengl"
15    
16     DEPEND=">=dev-games/physfs-1.0.0
17     opengl? ( virtual/opengl )
18     dev-libs/libxml2
19     media-libs/sdl-mixer
20     media-libs/sdl-image
21     >=dev-games/guichan-0.4.0"
22    
23     pkg_setup() {
24     if ! built_with_use dev-games/guichan sdl ; then
25     eerror "dev-games/guichan needs to be built with USE=sdl"
26     die "please re-emerge guichan with USE=sdl"
27     fi
28     games_pkg_setup
29     }
30    
31     src_unpack() {
32     unpack ${A}
33     cd "${S}"
34     epatch "${FILESDIR}"/${PN}-0.0.12-desktop.patch
35     }
36    
37     src_compile() {
38     egamesconf $(use_with opengl) || die
39     emake || die
40     }
41    
42     src_install() {
43     make DESTDIR="${D}" install || die "install failed"
44     dodoc AUTHORS ChangeLog NEWS README TODO
45     prepgamesdirs
46     }

  ViewVC Help
Powered by ViewVC 1.1.20