commit: ee207dbb287e5379c1b4df1c82aca0a11f86f7d8
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Mar 3 15:02:08 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Mar 3 15:02:08 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ee207dbb
Revert "dev-tcltk/togl: drop old"
This reverts commit b45d5455796b682c94febae42ec2190dbbffd432.
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
dev-tcltk/togl/togl-1.7-r1.ebuild | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/dev-tcltk/togl/togl-1.7-r1.ebuild
b/dev-tcltk/togl/togl-1.7-r1.ebuild
new file mode 100644
index 000000000..714cae183
--- /dev/null
+++ b/dev-tcltk/togl/togl-1.7-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MY_P="Togl-${PV}"
+
+DESCRIPTION="A Tk widget for OpenGL rendering"
+HOMEPAGE="http://togl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="1.7"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug +threads"
+
+RDEPEND="
+ dev-lang/tk:0
+ virtual/opengl"
+DEPEND="${RDEPEND}"
+
+# tests directory is missing
+RESTRICT="test"
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ econf \
+ $(use_enable debug symbols) \
+ $(use_enable amd64 64bit) \
+ $(use_enable threads)
+}
+
+src_install() {
+ default
+ rm "${D}"/usr/include/* || die
+ insinto /usr/include/${PN}-${SLOT}
+ doins togl*.h
+}