summaryrefslogtreecommitdiffstats
path: root/xorg/mesa3d/Pkgfile
blob: 6da1cadb50011b0aac329386df200cada15467b3 (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
# Description: Librairie graphique 3D Mesa
# URL: http://www.mesa3d.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: talloc, expat, libdrm, xorg-makedepend, xorg-glproto, xorg-xextproto, xorg-dri2proto, xorg-libx11, xorg-libxext, xorg-libxxf86vm, xorg-libxt, xorg-libxdamage

name=mesa3d
version=7.9
release=1
source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2)

build() {
	cd Mesa-$version

	./configure --prefix=/usr \
	            --with-driver=dri \
	            --with-dri-driverdir=/usr/lib/dri

	make

	make DESTDIR=$PKG install
#	for i in glew.h glxew.h wglew.h
#	do
#		rm $PKG/usr/include/GL/$i
#	done
	rm $PKG/usr/lib/libGL.*
#	install -d $PKG/usr/bin
#	install -m 755 progs/xdemos/glx{gears,info} $PKG/usr/bin
}