Contents of /branches/magellan-next/core/glproto/glproto-1.4.12-r1.smage2
Parent Directory | Revision Log
Revision 6293 -
(show annotations)
(download)
Fri Aug 20 12:25:03 2010 UTC (14 years, 1 month ago) by niro
File size: 752 byte(s)
Fri Aug 20 12:25:03 2010 UTC (14 years, 1 month ago) by niro
File size: 752 byte(s)
auto added: ver bump to 1.4.12-r1
1 | # $Id: glproto-1.4.11-r1.smage2 5278 2010-04-20 18:43:31Z niro $ |
2 | |
3 | PNAME="glproto" |
4 | PVER="1.4.12" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="x11-proto" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="GL extension headers." |
11 | HOMEPAGE="http://xorg.freedesktop.org" |
12 | |
13 | sminclude xorg multilib mtools |
14 | |
15 | DEPEND=">= x11-base/opengl-update-magellan-2.2.12" |
16 | |
17 | UP2DATE="updatecmd_xorg ${PNAME}" |
18 | |
19 | src_install() |
20 | { |
21 | mmake DESTDIR=${BINDIR} install || die |
22 | |
23 | # dynamic opengl setup |
24 | minstalldir /usr/$(mlibdir)/opengl/xorg/include || die |
25 | |
26 | local i |
27 | for i in ${BINDIR}/usr/include/GL/{glxtokens.h,glxmd.h,glxproto.h} |
28 | do |
29 | if [ -f ${i} -o -L ${i} ] |
30 | then |
31 | mv -f ${i} ${BINDIR}/usr/$(mlibdir)/opengl/xorg/include || die "${i}" |
32 | fi |
33 | done |
34 | } |
35 | |
36 | postinstall() |
37 | { |
38 | ${MROOT}/usr/sbin/opengl-update --use-old xorg |
39 | } |