Contents of /trunk/core/mesa-progs/mesa-progs-8.0.1-r1.smage2
Parent Directory
|
Revision Log
Revision 10418 -
(show annotations)
(download)
Sat Jan 21 22:53:52 2012 UTC (12 years, 5 months ago) by niro
File size: 797 byte(s)
Sat Jan 21 22:53:52 2012 UTC (12 years, 5 months ago) by niro
File size: 797 byte(s)
-fixed SRC_URI
1 | # $Id$ |
2 | |
3 | PNAME="mesa-progs" |
4 | PVER="8.0.1" |
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 | |
14 | SRCFILE="mesa-demos-${PVER}.tar.bz2" |
15 | SRCDIR="${BUILDDIR}/mesa-demos-${PVER}" |
16 | |
17 | sminclude mbuild mtools |
18 | |
19 | SRC_URI=( |
20 | ftp://ftp.freedesktop.org/pub/mesa/demos/${PVER}/${SRCFILE} |
21 | #sourceforge://mesa3d/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | UP2DATE="updatecmd ftp://ftp.freedesktop.org/pub/mesa/demos | sed -n 's:.*/\([0-9].*\):\1:;$ p'" |
26 | |
27 | src_compile() |
28 | { |
29 | cd ${SRCDIR} |
30 | mmake -C src/xdemos LDLIBS='-lX11 -lGL -lm' glxgears || die |
31 | mmake -C src/xdemos LDLIBS='-lX11 -lGL -lm' glxinfo || die |
32 | } |
33 | |
34 | src_install() |
35 | { |
36 | cd ${SRCDIR} |
37 | minstallexec src/xdemos/glxgears || die |
38 | minstallexec src/xdemos/glxinfo || die |
39 | } |