Magellan Linux

Contents of /branches/R11-stable/core/freeglut/freeglut-2.8.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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