Magellan Linux

Contents of /branches/magellan-next/core/glproto/glproto-1.4.11-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6284 - (show annotations) (download)
Fri Aug 20 11:54:21 2010 UTC (13 years, 8 months ago) by niro
File size: 689 byte(s)
imported from trunk
1 # $Id$
2
3 PNAME="glproto"
4 PVER="1.4.11"
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 UP2DATE="updatecmd_xorg ${PNAME}"
18
19 src_install()
20 {
21 mmake DESTDIR=${BINDIR} 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