Contents of /trunk/core/glproto/glproto-1.4.9-r2.smage2
Parent Directory | Revision Log
Revision 465 -
(show annotations)
(download)
Thu Dec 25 10:17:39 2008 UTC (15 years, 9 months ago) by niro
File size: 766 byte(s)
Thu Dec 25 10:17:39 2008 UTC (15 years, 9 months ago) by niro
File size: 766 byte(s)
-rev bump to 1.4.9-r2
1 | # $Header: /magellan-cvs/smage/glproto/glproto-1.4.9-r1.smage2,v 1.1 2008/02/12 15:07:09 niro Exp $ |
2 | |
3 | PNAME="glproto" |
4 | PVER="1.4.9" |
5 | PBUILD="r2" |
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" |
16 | |
17 | UP2DATE="updatecmd_xorg ${PNAME}" |
18 | |
19 | src_install() |
20 | { |
21 | xorg_src_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 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |