diff options
Diffstat (limited to 'games-arcade/moagg/moagg-0.13.ebuild')
-rw-r--r-- | games-arcade/moagg/moagg-0.13.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/games-arcade/moagg/moagg-0.13.ebuild b/games-arcade/moagg/moagg-0.13.ebuild new file mode 100644 index 000000000000..be7b9590d428 --- /dev/null +++ b/games-arcade/moagg/moagg-0.13.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/moagg/moagg-0.13.ebuild,v 1.1 2004/07/28 23:36:44 mr_bones_ Exp $ + +inherit games + +DESCRIPTION="MOAGG (Mother Of All Gravity Games) combines several different gravity-type games" +HOMEPAGE="http://moagg.sourceforge.net" +SRC_URI="mirror://sourceforge/moagg/${P}-src.tar.bz2 + mirror://sourceforge/moagg/${P}-data.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND=">=media-libs/libsdl-1.2.6 + >=media-libs/sdl-mixer-1.2.4 + >=media-libs/sdl-gfx-2.0.8 + >=media-libs/freetype-2.1.4 + >=dev-libs/expat-1.95.6 + =media-libs/paragui-1.0*" + +src_unpack() { + unpack ${A} + cd ${S} + # We don't want the docs inside ${GAMES_DATADIR}/doc, so we don't + # let "make install" do the doc install. + sed -i \ + -e '/^install:/s/install-doc//' Makefile.in \ + || die "sed Makefile.in failed" +} + +src_compile() { + # Turn off all the tests as they try to access /dev/svga, thus violating + # the sandbox. + egamesconf \ + --disable-sdltest \ + --disable-freetypetest \ + --disable-paraguitest \ + --disable-testsuite || die + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog README TODO doc/*.tex + prepgamesdirs +} |