summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-11-30 20:57:19 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-11-30 20:57:19 +0000
commita3f99cdfdbe8b6618e7aef70084e6283830fef57 (patch)
tree72d520285eb9700a42d3b9ed7cda08ad9d591e8a /media-libs/glut/glut-3.7.1.ebuild
parentChanged einstall||die to einstall (diff)
downloadgentoo-2-a3f99cdfdbe8b6618e7aef70084e6283830fef57.tar.gz
gentoo-2-a3f99cdfdbe8b6618e7aef70084e6283830fef57.tar.bz2
gentoo-2-a3f99cdfdbe8b6618e7aef70084e6283830fef57.zip
new version
Diffstat (limited to 'media-libs/glut/glut-3.7.1.ebuild')
-rw-r--r--media-libs/glut/glut-3.7.1.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/glut/glut-3.7.1.ebuild b/media-libs/glut/glut-3.7.1.ebuild
new file mode 100644
index 000000000000..6b542b05c8fe
--- /dev/null
+++ b/media-libs/glut/glut-3.7.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glut/glut-3.7.1.ebuild,v 1.1 2002/11/30 20:57:19 azarah Exp $
+
+inherit libtool
+
+MESA_VER="5.0"
+S="${WORKDIR}/Mesa-${MESA_VER}"
+DESCRIPTION="The OpenGL Utility Toolkit (GLUT)"
+SRC_URI="mirror://sourceforge/mesa3d/MesaLib-${MESA_VER}.tar.bz2
+ mirror://sourceforge/mesa3d/MesaDemos-${MESA_VER}.tar.bz2"
+HOMEPAGE="http://www.opengl.org/developers/documentation/glut/"
+
+SLOT="0"
+LICENSE="X11 | GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64 ~alpha"
+
+DEPEND="virtual/opengl
+ virtual/glu"
+
+PROVIDE="virtual/glut"
+
+src_compile() {
+
+ elibtoolize
+
+ econf || die
+
+ cd ${S}/src-glut
+
+ emake || die
+}
+
+src_install() {
+
+ insinto /usr/lib
+ newins ${S}/src-glut/.libs/libglut.lai libglut.la
+
+ dolib.so ${S}/src-glut/.libs/libglut.so.${PV}
+ dosym libglut.so.${PV} /usr/lib/libglut.so
+
+ insinto /usr/include/GL
+ doins ${S}/include/GL/glut*
+
+ dodoc ${S}/docs/COPY*
+}
+