summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2000-10-09 16:02:50 +0000
committerAchim Gottinger <achim@gentoo.org>2000-10-09 16:02:50 +0000
commit729fce81676bb44c7cadac460cb0d4292c060f6b (patch)
tree7ddce26a73dcce633c11585211d8e3f8891bf40a /media-libs/glut
parent*** empty log message *** (diff)
downloadgentoo-2-729fce81676bb44c7cadac460cb0d4292c060f6b.tar.gz
gentoo-2-729fce81676bb44c7cadac460cb0d4292c060f6b.tar.bz2
gentoo-2-729fce81676bb44c7cadac460cb0d4292c060f6b.zip
*** empty log message ***
Diffstat (limited to 'media-libs/glut')
-rw-r--r--media-libs/glut/files/digest-glut-3.71
-rw-r--r--media-libs/glut/glut-3.7.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/media-libs/glut/files/digest-glut-3.7 b/media-libs/glut/files/digest-glut-3.7
new file mode 100644
index 000000000000..43dc115eafc1
--- /dev/null
+++ b/media-libs/glut/files/digest-glut-3.7
@@ -0,0 +1 @@
+MD5 dc932666e2a1c8a0b148a4c32d111ef3 glut-3.7.tar.gz
diff --git a/media-libs/glut/glut-3.7.ebuild b/media-libs/glut/glut-3.7.ebuild
new file mode 100644
index 000000000000..0465600ab60a
--- /dev/null
+++ b/media-libs/glut/glut-3.7.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glut/glut-3.7.ebuild,v 1.1 2000/10/09 16:02:49 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="GLUT API for Linux"
+SRC_URI="http://reality.sgi.com/opengl/glut3/${A}"
+HOMEPAGE="http://reality.sgi.com/opengl/glut3/glut3.html"
+
+src_unpack() {
+ unpack ${A}
+ cd ${WORKDIR}
+ mkdir lib
+ cd lib
+ ln -s /usr/X11R6/lib/libGL.so.1 libMesaGL.so
+ ln -s /usr/X11R6/lib/libGLU.so.1 libMesaGLU.so
+}
+
+src_compile() {
+
+ cd ${S}
+ cp linux/Glut.cf .
+ cp mkmkfiles.imake mkmkfiles.imake.orig
+ sed -e "s:/bin/csh:/bin/tcsh:" mkmkfiles.imake.orig > mkmkfiles.imake
+ unset LS_COLORS
+ try ./mkmkfiles.imake
+ cp linux/Makefile lib/glut
+ cd ${S}/lib/glut
+ try make
+ ln -s libglut.so.3.7 libglut.so.3
+ ln -s libglut.so.3.7 libglut.so
+ cd ${S}
+ try make
+}
+
+src_install () {
+
+ cd ${S}
+ insinto /usr/X11R6/include/GL
+ doins include/GL/*.h
+ into /usr/X11R6
+ dolib lib/glut/libglut.so.3.7
+ preplib /usr/X11R6
+ prepallstrip
+}
+
+