# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-arcade/vor/vor-0.5.3.ebuild,v 1.2 2007/05/28 08:59:52 nixnut Exp $ inherit eutils games DESCRIPTION="Variations on Rockdodger: Dodge the rocks until you die" HOMEPAGE="http://jasonwoof.org/vor" SRC_URI="http://qualdan.com/vor/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~ppc ~x86" IUSE="" DEPEND="media-libs/libsdl media-libs/sdl-image media-libs/sdl-mixer" src_compile() { emake \ CFLAGS="${CFLAGS}" \ LDFLAGS="${LDFLAGS}" \ DATA_PREFIX="${GAMES_DATADIR}"/${PN} \ || die "emake failed" } src_install() { dogamesbin ${PN} || die "dogamesbin failed" insinto "${GAMES_DATADIR}"/${PN} doins -r data/* || die "doins failed" newicon data/icon.png ${PN}.png make_desktop_entry ${PN} VoR dodoc README todo prepgamesdirs }