Magellan Linux

Contents of /trunk/extras/freeglut/freeglut-2.8.1-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22227 - (show annotations) (download)
Mon Sep 15 08:06:40 2014 UTC (9 years, 8 months ago) by niro
File size: 890 byte(s)
-fixed sdepend
1 # $Id$
2
3 PNAME="freeglut"
4 PVER="2.8.1"
5 PBUILD="r3"
6
7 PCAT="media-libs"
8
9 DESCRIPTION="freeglut is a alternative to the OpenGL Utility Toolkit (GLUT) library."
10 HOMEPAGE="http://freeglut.sourceforge.net/"
11
12 sminclude multilib
13
14 DEPEND=">= virtual/glibc
15 >= virtual/opengl
16 >= x11-libs/libX11-1.6
17 >= x11-libs/libXext-1.3
18 >= x11-libs/libXi-1.7
19 >= x11-libs/libXrandr-1.4
20 >= x11-libs/libXxf86vm-1.1"
21
22 SDEPEND=">= x11-proto/glproto-1.4.17
23 >= media-libs/mesa-10.2
24 >= media-libs/glu-9"
25
26 PROVIDE="virtual/glut"
27
28 SRCFILE="${PNAME}-${PVER}.tar.gz"
29 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
30
31 SRC_URI=(
32 sourceforge://${PNAME}/${SRCFILE}
33 mirror://${PNAME}/${SRCFILE}
34 )
35
36 UP2DATE="updatecmd_sourceforge ${PNAME} gz"
37
38 src_prepare()
39 {
40 munpack ${SRCFILE} || die
41
42 # smooth_opengl3 demo doesn't build with recent mesa
43 all-abis 'sed -i "s/smooth_opengl3 //" progs/demos/Makefile.* || die'
44 mautoreconf || die
45 }