summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-02-25 04:09:51 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-02-25 04:09:51 +0000
commit16046d0e24a8fb335fb6a2a1bc04d219efb4d287 (patch)
tree86ad469ecdf659bb3913d5eee39e96923787b5b3 /media-libs/glut/glut-3.7-r2.ebuild
parentupdate to latest, purge old stuff. (diff)
downloadhistorical-16046d0e24a8fb335fb6a2a1bc04d219efb4d287.tar.gz
historical-16046d0e24a8fb335fb6a2a1bc04d219efb4d287.tar.bz2
historical-16046d0e24a8fb335fb6a2a1bc04d219efb4d287.zip
libglut.la fixes
Diffstat (limited to 'media-libs/glut/glut-3.7-r2.ebuild')
-rw-r--r--media-libs/glut/glut-3.7-r2.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/media-libs/glut/glut-3.7-r2.ebuild b/media-libs/glut/glut-3.7-r2.ebuild
new file mode 100644
index 000000000000..2230d5737cf0
--- /dev/null
+++ b/media-libs/glut/glut-3.7-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Martin Schlemmer <azarah@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glut/glut-3.7-r2.ebuild,v 1.1 2002/02/25 04:09:51 azarah Exp $
+
+MESA_VER="4.0.1"
+S=${WORKDIR}/Mesa-${MESA_VER}
+DESCRIPTION="The OpenGL Utility Toolkit (GLUT)"
+SRC_URI="http://prdownloads.sourceforge.net/mesa3d/MesaLib-${MESA_VER}.tar.bz2
+ http://prdownloads.sourceforge.net/mesa3d/MesaDemos-${MESA_VER}.tar.bz2"
+HOMEPAGE="http://www.opengl.org/developers/documentation/glut/"
+
+DEPEND="virtual/glibc
+ virtual/opengl
+ virtual/glu"
+
+
+PROVIDE="virtual/glut"
+
+src_compile() {
+
+ ./configure || die
+
+ cd ${S}/src-glut
+
+ emake || die
+}
+
+src_install() {
+
+ insinto /usr/lib
+ doins ${S}/src-glut/libglut.la
+ dosed -e "s: -L${S}/si-glu : -L/usr/lib :" /usr/lib/libglut.la
+ dosed -e "s:/usr/local/lib:/usr/lib:g" /usr/lib/libglut.la
+ dosed -e "s:installed=no:installed=yes:" /usr/lib/libglut.la
+
+ dolib.so ${S}/src-glut/.libs/libglut.so.${PV}.0
+ dosym libglut.so.${PV}.0 /usr/lib/libglut.so
+
+ insinto /usr/include/GL
+ doins ${S}/include/GL/glut*
+
+ dodoc ${S}/docs/COPYRIGHT
+}
+