1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
12 DESCRIPTION="Play as a single-celled organism absorbing others"
13 HOMEPAGE="http://www.hemispheregames.com/osmos/"
14 SRC_URI="${MY_P}.tar.gz"
18 KEYWORDS="-* ~amd64 ~x86"
20 RESTRICT="fetch strip"
21 PROPERTIES="interactive"
23 RDEPEND="virtual/opengl
34 GAMES_CHECK_LICENSE="yes"
37 einfo "Please download ${MY_P}.tar.gz and place it into ${DISTDIR}"
41 local dir="${GAMES_PREFIX_OPT}/${PN}"
46 doexe ${MY_PN}.bin64 || die "doexe"
49 doexe ${MY_PN}.bin32 || die "doexe"
53 doins -r Fonts/ Sounds/ Textures/ Osmos-* *.cfg || die "doins failed"
55 newicon Icons/256x256.png ${PN}.png
57 games_make_wrapper ${PN} ./${MY_PN} "${dir}"
58 make_desktop_entry ${PN} "Osmos"