--- /dev/null
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION=""
+HOMEPAGE="http://www.geogebra.org/cms/en"
+SRC_URI="https://geogebra.googlecode.com/files/GeoGebra-Unixlike-Installer-${PV}.tar.gz"
+
+LICENSE="GPL-3 CCPL-Attribution-ShareAlike-3.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=virtual/jdk-1.6.0-r1
+ ${DEPEND}"
+
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_configure() {
+ epatch "${FILESDIR}/${PN}-fix-install.sh.patch"
+}
+
+src_install() {
+ ./install.sh
+}