diff options
Diffstat (limited to 'games-rpg/tmw/tmw-0.0.20.ebuild')
-rw-r--r-- | games-rpg/tmw/tmw-0.0.20.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/games-rpg/tmw/tmw-0.0.20.ebuild b/games-rpg/tmw/tmw-0.0.20.ebuild new file mode 100644 index 000000000000..1cf20c2f77e1 --- /dev/null +++ b/games-rpg/tmw/tmw-0.0.20.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +inherit eutils games + +DESCRIPTION="A fully free and open source MMORPG game with the looks of \"old-fashioned\" 2D RPG" +HOMEPAGE="http://themanaworld.org/" +SRC_URI="mirror://sourceforge/themanaworld/${P}.tar.gz + mirror://gentoo/tmw-Magick-Real.ogg" +# http://riekale.com/~rotonen/tmw/data/music/Magick%20-%20Real.ogg" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="opengl" + +DEPEND=">=dev-games/physfs-1.0.0 + opengl? ( virtual/opengl ) + dev-libs/libxml2 + media-libs/sdl-mixer + media-libs/sdl-image + media-libs/sdl-net + net-misc/curl + >=dev-games/guichan-0.4.0" + +pkg_setup() { + games_pkg_setup + if ! built_with_use dev-games/guichan sdl ; then + eerror "dev-games/guichan needs to be built with USE=sdl" + die "please re-emerge guichan with USE=sdl" + fi +} + +src_unpack() { + unpack ${P}.tar.gz + cp "${DISTDIR}"/tmw-Magick-Real.ogg . || die + cd "${S}" + epatch "${FILESDIR}"/${PN}-0.0.12-desktop.patch +} + +src_compile() { + egamesconf $(use_with opengl) || die + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die "install failed" + insinto "${GAMES_DATADIR}"/${PN}/data/music + newins "${WORKDIR}"/tmw-Magick-Real.ogg "Magick - Real.ogg" || die + dodoc AUTHORS ChangeLog NEWS README + prepgamesdirs +} |