Magellan Linux

Contents of /trunk/extras/glproto/glproto-1.4.9-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
File size: 731 byte(s)
import repo
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="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"
16
17 src_install()
18 {
19 xorg_src_install || die
20
21 # dynamic opengl setup
22 minstalldir /usr/$(mlibdir)/opengl/xorg/include || die
23
24 local i
25 for i in ${BINDIR}/usr/include/GL/{glxtokens.h,glxmd.h,glxproto.h}
26 do
27 if [ -f ${i} -o -L ${i} ]
28 then
29 mv -f ${i} ${BINDIR}/usr/$(mlibdir)/opengl/xorg/include || die "${i}"
30 fi
31 done
32 }
33
34 postinstall()
35 {
36 ${MROOT}/usr/sbin/opengl-update --use-old xorg
37 }

Properties

Name Value
svn:keywords Id