# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games S=${WORKDIR}/${PN} DESCRIPTION="Clone of Super Monkey Ball using SDL/OpenGL" HOMEPAGE="http://aoeu.snth.net/seb/" SRC_URI="http://aoeu.snth.net/seb/${P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=media-libs/libsdl-1.2 >=media-libs/sdl-mixer-1.2.5-r1 >=media-libs/sdl-image-1.2.2 virtual/glut" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/main-gentoo.diff epatch ${FILESDIR}/audio-gentoo.diff epatch ${FILESDIR}/geom-gentoo.diff epatch ${FILESDIR}/level-gentoo.diff epatch ${FILESDIR}/mapc-gentoo.diff epatch ${FILESDIR}/state-gentoo.diff epatch ${FILESDIR}/text-gentoo.diff epatch ${FILESDIR}/levels-gentoo.diff } src_compile() { make || die } src_install() { dogamesbin ball rm -f ${S}/data/Makefile-W32 rm -f ${S}/data/Makefile dodir ${GAMES_DATADIR}/seb/data cp -R ${S}/data/* ${D}${GAMES_DATADIR}/seb/data prepgamesdirs }