# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ #EAPI=4 inherit games DESCRIPTION="A mod of The Powder Toy, a particle simulator" HOMEPAGE="https://github.com/Merbo/The-Powder-Toy/wiki/Main" SRC_URI="https://github.com/Merbo/The-Powder-Toy/tarball/master" LICENSE="as-is" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND="app-arch/bzip2 dev-lang/lua media-libs/libsdl sci-libs/fftw" RDEPEND="${DEPEND}" S=${WORKDIR}/compile src_unpack() { unpack_makeself } src_compile() { #egamesconf || die "egamesconf failed" emake || die "emake failed" } src_install() { dogamesbin ${PN} || die "dogamesbin failed" insinto "${GAMES_DATADIR}"/${PN} doins -r data/* || die "doins failed" dodoc README doicon ${PN}.xpm make_desktop_entry ${PN} The Powder Toy ${PN}.xpm prepgamesdirs }