Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
File size: 922 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/freeglut/freeglut-2.4.0-r3.smage2,v 1.2 2008/02/12 17:04:07 niro Exp $
2
3 PNAME="freeglut"
4 PVER="2.4.0"
5 PBUILD="r3"
6
7 PCATEGORIE="media-libs"
8 STATE="unstable"
9
10 DESCRIPTION="freeglut is a alternative to the OpenGL Utility Toolkit (GLUT) library."
11 HOMEPAGE="http://freeglut.sourceforge.net/"
12
13 sminclude mbuild mtools multilib
14
15 # dep only exist with new xorg-7.0.0 (media-libs/mesa)
16 DEPEND=">= virtual/opengl"
17 PROVIDE="virtual/glut"
18
19 SRCFILE="${PNAME}-${PVER}.tar.gz"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21
22 SRC_URI=(
23 sourceforge://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 mirror://${PNAME}/${PNAME}-${PVER}-cursor.patch
26 mirror://${PNAME}/${PNAME}-${PVER}-gcc42.patch
27 )
28
29 src_prepare()
30 {
31 munpack ${SRCFILE} || die
32 cd ${SRCDIR}
33
34 # fixes broken cursor handling
35 mpatch ${PNAME}-${PVER}-cursor.patch || die
36 # fixes compilation with gcc-4.2
37 mpatch ${PNAME}-${PVER}-gcc42.patch || die
38 }

Properties

Name Value
svn:keywords Id