summaryrefslogtreecommitdiffstats
path: root/extra/mesa-demos/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mesa-demos/Pkgfile')
-rwxr-xr-xextra/mesa-demos/Pkgfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/mesa-demos/Pkgfile b/extra/mesa-demos/Pkgfile
new file mode 100755
index 000000000..e90845732
--- /dev/null
+++ b/extra/mesa-demos/Pkgfile
@@ -0,0 +1,20 @@
+# Description: Demos pour la bibliothèque graphique 3D Mesa
+# URL: http://www.mesa3d.org
+# Maintainer: NuTyX core team
+# Packager: piernov <piernov@piernov.org>
+# Depends on: glew
+# Run on: glew
+
+name=mesa-demos
+version=8.0.1
+release=1
+source=(ftp://ftp.freedesktop.org/pub/mesa/demos/$version/$name-$version.tar.bz2
+ disable-egl.patch)
+
+build() {
+ cd $name-$version
+ patch -p1 < ../disable-egl.patch
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+}