Magellan Linux

Contents of /smage/trunk/core/glproto/glproto-1.4.11-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 481 - (show annotations) (download)
Fri May 7 16:28:14 2010 UTC (13 years, 11 months ago) by niro
File size: 695 byte(s)
auto added: ver bump to 1.4.11-r1
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 mcore
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