--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/es2_info
+-rwxr-xr-x root/root usr/bin/es2gears_x11
+-rwxr-xr-x root/root usr/bin/glxgears
+-rwxr-xr-x root/root usr/bin/glxinfo
--- /dev/null
+# Description: Mesa 3D demos
+# URL: http://www.mesa3d.org
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
+# Depends on: glew glu
+
+name=mesa-demos
+version=8.2.0
+release=1
+source=(ftp://ftp.freedesktop.org/pub/mesa/demos/$version/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+
+ ./configure --prefix=/usr
+
+ make -C src/xdemos/ glxinfo glxgears
+ make -C src/egl/eglut/ libeglut_screen.la libeglut_x11.la
+ make -C src/egl/opengles2/ es2_info es2gears_x11
+
+ install -d $PKG/usr/bin
+ install -m 0755 -t $PKG/usr/bin src/{egl/opengles2/{es2_info,es2gears_x11},xdemos/glx{gears,info}}
+}