summaryrefslogtreecommitdiff
path: root/var/spack/packages/mesa/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/packages/mesa/package.py')
-rw-r--r--var/spack/packages/mesa/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/packages/mesa/package.py b/var/spack/packages/mesa/package.py
new file mode 100644
index 0000000000..df28d87700
--- /dev/null
+++ b/var/spack/packages/mesa/package.py
@@ -0,0 +1,26 @@
+from spack import *
+
+class Mesa(Package):
+ """Mesa is an open-source implementation of the OpenGL
+ specification - a system for rendering interactive 3D graphics."""
+
+ homepage = "http://www.mesa3d.org"
+ url = "ftp://ftp.freedesktop.org/pub/mesa/10.4.4/MesaLib-10.4.4.tar.gz"
+
+ version('10.4.4', '8d863a3c209bf5116b2babfccccc68ce')
+
+ depends_on("py-mako")
+ depends_on("flex")
+ depends_on("bison")
+ depends_on("libdrm")
+ depends_on("dri2proto")
+ depends_on("libxcb")
+ depends_on("libxshmfence")
+
+ def install(self, spec, prefix):
+ # FIXME: Modify the configure line to suit your build system here.
+ configure("--prefix=%s" % prefix)
+
+ # FIXME: Add logic to build and install here
+ make()
+ make("install")