Magellan Linux

Contents of /trunk/extras/mesa-progs/mesa-progs-8.2.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22638 - (show annotations) (download)
Mon Oct 27 13:13:01 2014 UTC (9 years, 7 months ago) by niro
File size: 854 byte(s)
-added missing glew dep
1 # $Id$
2
3 PNAME="mesa-progs"
4 PVER="8.2.0"
5 PBUILD="r1"
6
7 PCAT="x11-apps"
8
9 DESCRIPTION="Mesa3D OpenGL graphics applications."
10 HOMEPAGE="http://mesa3d.sourceforge.net/"
11
12 DEPEND=">= virtual/glut
13 >= virtual/glew
14 >= virtual/opengl"
15
16 SRCFILE="mesa-demos-${PVER}.tar.bz2"
17 SRCDIR="${BUILDDIR}/mesa-demos-${PVER}"
18
19 sminclude mbuild mtools
20 msetfeature "!check"
21
22 SRC_URI=(
23 ftp://ftp.freedesktop.org/pub/mesa/demos/${PVER}/${SRCFILE}
24 #sourceforge://mesa3d/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 )
27
28 UP2DATE="updatecmd ftp://ftp.freedesktop.org/pub/mesa/demos | sed -n 's:.*/\([0-9].*\):\1:;$ p'"
29
30 src_compile()
31 {
32 cd ${SRCDIR}
33 mmake -C src/xdemos LDLIBS='-lX11 -lGL -lm' glxgears || die
34 mmake -C src/xdemos LDLIBS='-lX11 -lGL -lm' glxinfo || die
35 }
36
37 src_install()
38 {
39 cd ${SRCDIR}
40 minstallexec src/xdemos/glxgears || die
41 minstallexec src/xdemos/glxinfo || die
42 }