Add geogebra-4.1.120.0
[shuber-gentoo-overlay.git] / sci-mathematics / geogebra / geogebra-4.1.120.0.ebuild
diff --git a/sci-mathematics/geogebra/geogebra-4.1.120.0.ebuild b/sci-mathematics/geogebra/geogebra-4.1.120.0.ebuild
new file mode 100644 (file)
index 0000000..bd4cd90
--- /dev/null
@@ -0,0 +1,33 @@
+# 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
+}