Contents of /smage/trunk/deprecated/glproto/glproto-1.4.17-r4.smage2
Parent Directory | Revision Log
Revision 11896 -
(show annotations)
(download)
Thu Aug 16 10:05:46 2018 UTC (6 years, 1 month ago) by niro
File size: 638 byte(s)
Thu Aug 16 10:05:46 2018 UTC (6 years, 1 month ago) by niro
File size: 638 byte(s)
-moved to 'deprecated'
1 | # $Id$ |
2 | |
3 | PNAME="glproto" |
4 | PVER="1.4.17" |
5 | PBUILD="r4" |
6 | |
7 | PCAT="x11-proto" |
8 | |
9 | DESCRIPTION="GL extension headers." |
10 | HOMEPAGE="http://xorg.freedesktop.org" |
11 | |
12 | DEPEND=">= x11-base/opengl-update-2.3" |
13 | |
14 | sminclude xorg multilib mbuild mtools |
15 | |
16 | src_install() |
17 | { |
18 | mmake DESTDIR=${BINDIR} install || die |
19 | |
20 | # dynamic opengl setup |
21 | minstalldir /usr/$(mlibdir)/opengl/xorg/include/GL || die |
22 | |
23 | local i |
24 | for i in ${BINDIR}/usr/include/GL/{glxtokens.h,glxmd.h,glxproto.h} |
25 | do |
26 | if [ -f ${i} -o -L ${i} ] |
27 | then |
28 | mv -f ${i} ${BINDIR}/usr/$(mlibdir)/opengl/xorg/include/GL/ || die "${i}" |
29 | fi |
30 | done |
31 | } |
32 | |
33 | postinstall() |
34 | { |
35 | ${MROOT}/usr/sbin/opengl-update --use-old xorg |
36 | } |