summaryrefslogtreecommitdiffstats
path: root/package/x11r7/mesa3d/mesa3d.mk
blob: f9d35a92b5f35333f6bb8029af3648aa37282a38 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
################################################################################
#
# mesa3d
#
################################################################################

MESA3D_VERSION = 7.10.3
MESA3D_SOURCE = MesaLib-$(MESA3D_VERSION).tar.gz
MESA3D_SITE = ftp://ftp.freedesktop.org/pub/mesa/$(MESA3D_VERSION)
MESA3D_LICENSE = MIT, SGI, Khronos
MESA3D_LICENSE_FILES = docs/license.html

MESA3D_AUTORECONF = YES
MESA3D_INSTALL_STAGING = YES

MESA3D_CONF_OPT = \
	--disable-egl \
	--disable-glu \
	--disable-glw \
	--disable-glut \
	--disable-gallium \
	--with-driver=dri \
	--with-dri-drivers=swrast \
	--disable-static

MESA3D_DEPENDENCIES = \
	xproto_glproto \
	xlib_libXxf86vm \
	xlib_libXdamage \
	xlib_libXfixes \
	xproto_dri2proto \
	libdrm \
	expat \
	host-xutil_makedepend \
	host-libxml2 \
	host-python \
	host-bison \
	host-flex

$(eval $(autotools-package))