summaryrefslogtreecommitdiff
blob: 86cf80a1dfca56b25d105a1fd31797c804be6999 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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-r1.ebuild,v 1.8 2002/01/24 18:36:19 azarah Exp $

MESA_VER="4.0.1"
S=${WORKDIR}/Mesa-${MESA_VER}
DESCRIPTION=""
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"
	

PROVIDE="virtual/glut"

src_compile() {

	./configure || die

	cd ${S}/src-glut
			
	emake || die
}

src_install() {

	insinto /usr/lib
	doins ${S}/src-glut/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
}