# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit versionator eutils DESCRIPTION="Phun is a physics simulator such as gravity, friction, and so on" HOMEPAGE="http://www.phun.at/" SRC_URI="http://ftp.acc.umu.se/mirror/phun/Phun_beta_$(get_major_version)_$(get_after_major_version)_linux32.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND="virtual/opengl" DEPEND="${RDEPEND}" S="${WORKDIR}" src_compile() { einfo "Binary package, nothing to compile" } src_install() { insinto "/opt" doins -r "Phun/" exeinto "/opt/Phun" doexe "Phun/phun.bin" make_desktop_entry "phun" "Phun" "/opt/Phun/Phun.bmp" "Education;" make_wrapper phun "/opt/Phun/phun.bin" "/opt/Phun" "." }