Magellan Linux

Annotation of /branches/magellan-next/core/glproto/glproto-1.4.14-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8439 - (hide annotations) (download)
Mon Jul 18 19:56:48 2011 UTC (12 years, 10 months ago) by niro
File size: 677 byte(s)
auto added: ver bump to 1.4.14-r1
1 niro 8439 # $Id$
2    
3     PNAME="glproto"
4     PVER="1.4.14"
5     PBUILD="r1"
6    
7     PCATEGORIE="x11-proto"
8    
9     DESCRIPTION="GL extension headers."
10     HOMEPAGE="http://xorg.freedesktop.org"
11    
12     sminclude xorg multilib mtools
13    
14     DEPEND=">= x11-base/opengl-update-magellan-2.2.12"
15    
16     UP2DATE="updatecmd_xorg ${PNAME}"
17    
18     src_install()
19     {
20     mmake DESTDIR=${BINDIR} install || die
21    
22     # dynamic opengl setup
23     minstalldir /usr/$(mlibdir)/opengl/xorg/include || die
24    
25     local i
26     for i in ${BINDIR}/usr/include/GL/{glxtokens.h,glxmd.h,glxproto.h}
27     do
28     if [ -f ${i} -o -L ${i} ]
29     then
30     mv -f ${i} ${BINDIR}/usr/$(mlibdir)/opengl/xorg/include || die "${i}"
31     fi
32     done
33     }
34    
35     postinstall()
36     {
37     ${MROOT}/usr/sbin/opengl-update --use-old xorg
38     }