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