summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2001-04-23 19:59:39 +0000
committerDaniel Robbins <drobbins@gentoo.org>2001-04-23 19:59:39 +0000
commit62e4150c6d9122c08f52e4e96e78ed0f706d03b9 (patch)
tree1ace2c40a439aaacc011294f91cfac8ed2d18c57 /media-libs/glut
parentmany virtual/x11 and virtual/opengl dependency fixups, and a few removals (diff)
downloadhistorical-62e4150c6d9122c08f52e4e96e78ed0f706d03b9.tar.gz
historical-62e4150c6d9122c08f52e4e96e78ed0f706d03b9.tar.bz2
historical-62e4150c6d9122c08f52e4e96e78ed0f706d03b9.zip
many virtual/x11 and virtual/opengl dependency fixups, and a few removals
of older ebuilds
Diffstat (limited to 'media-libs/glut')
-rw-r--r--media-libs/glut/glut-3.7-r1.ebuild4
-rw-r--r--media-libs/glut/glut-3.7.ebuild56
2 files changed, 2 insertions, 58 deletions
diff --git a/media-libs/glut/glut-3.7-r1.ebuild b/media-libs/glut/glut-3.7-r1.ebuild
index 3679dc400b2a..96ef63f3ec11 100644
--- a/media-libs/glut/glut-3.7-r1.ebuild
+++ b/media-libs/glut/glut-3.7-r1.ebuild
@@ -1,7 +1,7 @@
# 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-r1.ebuild,v 1.5 2001/04/23 18:11:56 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glut/glut-3.7-r1.ebuild,v 1.6 2001/04/23 19:59:32 drobbins Exp $
A=${P}.tar.gz
S=${WORKDIR}/${P}
@@ -9,7 +9,7 @@ DESCRIPTION="GLUT API for Linux"
SRC_URI="http://reality.sgi.com/opengl/glut3/${A}"
HOMEPAGE="http://reality.sgi.com/opengl/glut3/glut3.html"
-DEPEND=">=sys-libs/glibc-2.1.3 >=x11-base/xfree-4.0.1"
+DEPEND="virtual/glibc virtual/x11 virtual/opengl"
src_unpack() {
unpack ${A}
diff --git a/media-libs/glut/glut-3.7.ebuild b/media-libs/glut/glut-3.7.ebuild
deleted file mode 100644
index 6ed9370a0d28..000000000000
--- a/media-libs/glut/glut-3.7.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# 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.6 2001/01/22 05:36:16 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"
-
-DEPEND=">=sys-libs/glibc-2.1.3
- >=x11-base/xfree-4.0.1
- >=media-libs/mesa-3.4"
-
-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
- cp Imakefile Imakefile.orig
- sed -e "s:^SUBDIRS.*:SUBDIRS = lib:" Imakefile.orig > Imakefile
- 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
-}
-
-