Magellan Linux

Annotation of /branches/R11-stable/extras/freeglut/freeglut-2.8.1-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22228 - (hide annotations) (download)
Mon Sep 15 08:12:58 2014 UTC (9 years, 9 months ago) by niro
Original Path: trunk/extras/freeglut/freeglut-2.8.1-r4.smage2
File size: 871 byte(s)
-fixed depend
1 niro 22228 # $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     }