Magellan Linux

Contents of /branches/R11-unstable/extras/freeglut/freeglut-2.8.1-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25234 - (show annotations) (download)
Tue Nov 25 03:16:16 2014 UTC (9 years, 5 months ago) by niro
File size: 871 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="freeglut"
4 PVER="2.8.1"
5 PBUILD="r4"
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 >= x11-libs/libX11-1.6
16 >= x11-libs/libXext-1.3
17 >= x11-libs/libXi-1.7
18 >= x11-libs/libXrandr-1.4
19 >= x11-libs/libXxf86vm-1.1"
20
21 SDEPEND=">= x11-proto/glproto-1.4.17
22 >= media-libs/mesa-10.2
23 >= media-libs/glu-9"
24
25 PROVIDE="virtual/glut"
26
27 SRCFILE="${PNAME}-${PVER}.tar.gz"
28 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
29
30 SRC_URI=(
31 sourceforge://${PNAME}/${SRCFILE}
32 mirror://${PNAME}/${SRCFILE}
33 )
34
35 UP2DATE="updatecmd_sourceforge ${PNAME} gz"
36
37 src_prepare()
38 {
39 munpack ${SRCFILE} || die
40
41 # smooth_opengl3 demo doesn't build with recent mesa
42 all-abis 'sed -i "s/smooth_opengl3 //" progs/demos/Makefile.* || die'
43 mautoreconf || die
44 }