summaryrefslogtreecommitdiffstats
path: root/base/libgl/Pkgfile
blob: 8c94138981c9b5d4f19e82a45ba3f2ab05fc0748 (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
# Description: Librairie libre 3D de Mesa
# URL: http://mesa3d.sourceforge.net
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: talloc, llvm, expat, libdrm, xorg-makedepend, xorg-libx11, xorg-libxext, xorg-libxxf86vm, xorg-libxt, xorg-libxdamage
# Run on: expat,libdrm,xorg-makedepend,xorg-libx11,xorg-libxext,xorg-libxxf86vm,xorg-libxt,xorg-libxdamage

name=libgl
version=7.11
release=1
source=(ftp://ftp.freedesktop.org/pub/mesa/7.11/MesaLib-$version.tar.bz2)
build()
{
	cd Mesa-$version
	./configure $XORG_CONFIG \
	--with-driver=xlib \
	--disable-egl \
	--disable-gallium \
	--disable-glu \
	--disable-glw \
	--without-demos
	make
	install -m755 -d $PKG/$XORG_PREFIX/lib{,/X11/modules/extensions}
	bin/minstall lib/libGL.so* $PKG/$XORG_PREFIX/lib/
	ln -s libglx.xorg \
	$PKG/$XORG_PREFIX/lib/X11/modules/extensions/libglx.so
}