# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="A 3D interface to the planet" HOMEPAGE="http://earth.google.com/" SRC_URI="http://dl.google.com/earth/GE4/GoogleEarthLinux.bin" #SRC_URI="mirror://gentoo/${P}.bin" LICENSE="GoogleEarth" SLOT="0" KEYWORDS="~x86" RESTRICT="strip" IUSE="" S=${WORKDIR} src_unpack() { unpack_makeself mkdir data cd data unpack ./../${PN}-data.tar cd ../bin unpack ./../${PN}-linux-x86.tar } src_install() { insinto /opt/${PN} doins -r data/* || die "doins failed" exeinto /opt/${PN} doexe bin/* || die "doexe failed" make_wrapper ${PN} ./${PN} /opt/${PN} . || die "make_wrapper failed" doicon ${PN}-icon.png make_desktop_entry ${PN} "Google Earth" ${PN}-icon.png Network dodoc README.linux }