description="Mesa 3D Graphics Library" packager="" maintainer="Tilman Sauerbeck, tilman at crux dot nu" url="http://www.mesa3d.org" depends=(libdrm xorg-makedepend xorg-glproto xorg-xextproto xorg-dri2proto xorg-libx11 xorg-xf86vidmodeproto xorg-libxext xorg-libxxf86vm xorg-libxt xorg-libxdamage expat) name=mesa3d version=7.8.2 release=1 source=(ftp://ftp.freedesktop.org/pub/mesa/7.8.2/MesaLib-7.8.2.tar.bz2 Makefile glxgears.c glxinfo.c) build () { cd Mesa-$version; mkdir -p progs/xdemos; mv $SRC/{Makefile,glx{gears,info}.c} progs/xdemos; ./configure --prefix=/usr --with-demos=xdemos --with-driver=dri --with-dri-driverdir=/usr/lib/dri; make; make DESTDIR=$PKG install; install -d $PKG/usr/bin; install -m 755 progs/xdemos/glx{gears,info} $PKG/usr/bin }