Magellan Linux

Annotation of /trunk/deprecated/glproto/glproto-1.4.17-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30506 - (hide annotations) (download)
Fri Jan 26 14:10:15 2018 UTC (6 years, 4 months ago) by niro
Original Path: trunk/extras/glproto/glproto-1.4.17-r3.smage2
File size: 638 byte(s)
auto added: ver bump to 1.4.17-r3
1 niro 30506 # $Id$
2    
3     PNAME="glproto"
4     PVER="1.4.17"
5     PBUILD="r3"
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     }