aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher (jlec) <jlec@j-schmitz.net>2009-05-17 19:22:54 +0200
committerJustin Lecher (jlec) <jlec@j-schmitz.net>2009-05-18 23:08:18 +0200
commitf6e5cb5f6250029af6021ee0faf6ddde456c617c (patch)
tree7c2ef6bee403a91d46b686555345ea8a90ee920b /dev-tcltk/togl/togl-2.0-r1.ebuild
parentTogl license removed as it is BSD (diff)
downloadsci-f6e5cb5f6250029af6021ee0faf6ddde456c617c.tar.gz
sci-f6e5cb5f6250029af6021ee0faf6ddde456c617c.tar.bz2
sci-f6e5cb5f6250029af6021ee0faf6ddde456c617c.zip
togl updated
Diffstat (limited to 'dev-tcltk/togl/togl-2.0-r1.ebuild')
-rw-r--r--dev-tcltk/togl/togl-2.0-r1.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-tcltk/togl/togl-2.0-r1.ebuild b/dev-tcltk/togl/togl-2.0-r1.ebuild
new file mode 100644
index 000000000..fe834587d
--- /dev/null
+++ b/dev-tcltk/togl/togl-2.0-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+MY_P="Togl${PV}"
+
+DESCRIPTION="A Tk widget for OpenGL rendering"
+HOMEPAGE="http://togl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug +threads"
+
+RDEPEND="dev-lang/tk
+ virtual/opengl"
+DEPEND="${RDEPEND}"
+
+RESTRICT="test"
+S="${WORKDIR}"/${MY_P}
+
+src_configure() {
+ econf \
+ $(use_enable debug symbols) \
+ $(use_enable amd64 64bit) \
+ $(use_enable threads)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "failed to install"
+ dohtml doc/* || die "no html"
+ dodoc README* || die "no README"
+}