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