summaryrefslogtreecommitdiff
path: root/packages/mesa/mesa-common.inc
blob: 4254ba57b7937cbdbbc22e39eb24eb3dd6b7ec69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
SECTION = "x11"

DESCRIPTION = "An open source implementation of the OpenGL spec"
HOMEPAGE = "http://mesa3d.org"
LICENSE = "MIT"

SRC_URI = "${SOURCEFORGE_MIRROR}/mesa3d/MesaLib-${PV}.tar.bz2 \
           ${SOURCEFORGE_MIRROR}/mesa3d/MesaDemos-${PV}.tar.bz2 "
S = "${WORKDIR}/Mesa-${PV}"

PROVIDES = "virtual/libgl"

inherit autotools pkgconfig

EXTRA_OECONF = "--enable-glu \
                --disable-glw \
                --disable-glut \
                --enable-glx-tls"

do_stage() {
        autotools_stage_all
		install -d ${STAGING_INCDIR}/GL/	
		cp -pPr ${S}/include/GL/internal* ${STAGING_INCDIR}/GL/
}