diff options
Diffstat (limited to 'mesa3d/Pkgfile')
-rw-r--r-- | mesa3d/Pkgfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mesa3d/Pkgfile b/mesa3d/Pkgfile new file mode 100644 index 0000000..96f2082 --- /dev/null +++ b/mesa3d/Pkgfile @@ -0,0 +1,21 @@ +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 +} |