Contents of /trunk/extras/glew/glew-1.5.2-r1.smage2
Parent Directory | Revision Log
Revision 4998 -
(show annotations)
(download)
Sun Feb 28 18:01:54 2010 UTC (14 years, 6 months ago) by niro
File size: 854 byte(s)
Sun Feb 28 18:01:54 2010 UTC (14 years, 6 months ago) by niro
File size: 854 byte(s)
-fixed multilib
1 | # $Id$ |
2 | |
3 | PNAME="glew" |
4 | PVER="1.5.2" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="media-libs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="The OpenGL Extension Wrangler Library (GLEW)." |
11 | HOMEPAGE="http://glew.sourceforge.net/" |
12 | |
13 | sminclude multilib |
14 | |
15 | DEPEND=">= virtual/opengl |
16 | >= virtual/glut" |
17 | |
18 | SDEPEND=">= sys-apps/sed-4" |
19 | |
20 | SRCFILE="${PNAME}-${PVER}.tgz" |
21 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
22 | |
23 | SRC_URI=( |
24 | sourceforge://${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2DATE="updatecmd_sourceforge ${PNAME}" |
29 | |
30 | src_prepare() |
31 | { |
32 | munpack ${SRCFILE} || die |
33 | |
34 | # convert crlfs from dos to unix |
35 | all-abis 'sed -i "s/.$//" config/config.guess Makefile || die' |
36 | } |
37 | |
38 | src_compile() |
39 | { |
40 | mmake STRIP=true M_ARCH="" POPT="${CFLAGS}" LD=gcc CC=gcc AR=ar || die |
41 | } |
42 | |
43 | src_install() |
44 | { |
45 | mmake STRIP=true M_ARCH="" GLEW_DEST=${BINDIR}/usr LIBDIR=${BINDIR}/usr/$(mlibdir) install || die |
46 | minstalldocs *.txt || die |
47 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |