Annotation of /trunk/extras/mesa-progs/mesa-progs-8.2.0-r1.smage2
Parent Directory | Revision Log
Revision 22634 -
(hide annotations)
(download)
Mon Oct 27 11:04:48 2014 UTC (9 years, 11 months ago) by niro
File size: 837 byte(s)
Mon Oct 27 11:04:48 2014 UTC (9 years, 11 months ago) by niro
File size: 837 byte(s)
auto added: ver bump to 8.2.0-r1
1 | niro | 22634 | # $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/opengl" | ||
14 | |||
15 | SRCFILE="mesa-demos-${PVER}.tar.bz2" | ||
16 | SRCDIR="${BUILDDIR}/mesa-demos-${PVER}" | ||
17 | |||
18 | sminclude mbuild mtools | ||
19 | msetfeature "!check" | ||
20 | |||
21 | SRC_URI=( | ||
22 | ftp://ftp.freedesktop.org/pub/mesa/demos/${PVER}/${SRCFILE} | ||
23 | #sourceforge://mesa3d/${SRCFILE} | ||
24 | mirror://${PNAME}/${SRCFILE} | ||
25 | ) | ||
26 | |||
27 | UP2DATE="updatecmd ftp://ftp.freedesktop.org/pub/mesa/demos | sed -n 's:.*/\([0-9].*\):\1:;$ p'" | ||
28 | |||
29 | src_compile() | ||
30 | { | ||
31 | cd ${SRCDIR} | ||
32 | mmake -C src/xdemos LDLIBS='-lX11 -lGL -lm' glxgears || die | ||
33 | mmake -C src/xdemos LDLIBS='-lX11 -lGL -lm' glxinfo || die | ||
34 | } | ||
35 | |||
36 | src_install() | ||
37 | { | ||
38 | cd ${SRCDIR} | ||
39 | minstallexec src/xdemos/glxgears || die | ||
40 | minstallexec src/xdemos/glxinfo || die | ||
41 | } |