blob: 1e72fe5b4603186673cc058b4feea5acdd2ff1aa (
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
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2003 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.8 2003/04/09 02:44:10 todd 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 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
preplib
insinto /usr/include/GL
doins ${S}/include/GL/glut*
dodoc ${S}/docs/COPY*
}
|