summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAlfredo Gimenez <gimenez1@llnl.gov>2015-02-06 17:24:55 -0800
committerAlfredo Gimenez <gimenez1@llnl.gov>2015-02-06 17:24:55 -0800
commit676cc84c9e0a845fab117fde4ff0b1dca0b2d792 (patch)
tree1e031dc499e8791e78f675a488f2937cf9bf4104 /var
parent5fdf5438ea4375dd5d9ceee7c5af1a4cf6896d53 (diff)
downloadspack-676cc84c9e0a845fab117fde4ff0b1dca0b2d792.tar.gz
spack-676cc84c9e0a845fab117fde4ff0b1dca0b2d792.tar.bz2
spack-676cc84c9e0a845fab117fde4ff0b1dca0b2d792.tar.xz
spack-676cc84c9e0a845fab117fde4ff0b1dca0b2d792.zip
more mesa dependencies
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/dri2proto/package.py14
-rw-r--r--var/spack/packages/libdrm/package.py22
-rw-r--r--var/spack/packages/libxcb/package.py21
-rw-r--r--var/spack/packages/libxshmfence/package.py16
-rw-r--r--var/spack/packages/xcb-proto/package.py15
5 files changed, 88 insertions, 0 deletions
diff --git a/var/spack/packages/dri2proto/package.py b/var/spack/packages/dri2proto/package.py
new file mode 100644
index 0000000000..11dfa568e2
--- /dev/null
+++ b/var/spack/packages/dri2proto/package.py
@@ -0,0 +1,14 @@
+from spack import *
+
+class Dri2proto(Package):
+ """DRI2 Protocol Headers."""
+ homepage = "http://http://cgit.freedesktop.org/xorg/proto/dri2proto/"
+ url = "http://xorg.freedesktop.org/releases/individual/proto/dri2proto-2.8.tar.gz"
+
+ version('2.8', '19ea18f63d8ae8053c9fa84b60365b77')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+
+ make()
+ make("install")
diff --git a/var/spack/packages/libdrm/package.py b/var/spack/packages/libdrm/package.py
new file mode 100644
index 0000000000..9164db8141
--- /dev/null
+++ b/var/spack/packages/libdrm/package.py
@@ -0,0 +1,22 @@
+from spack import *
+
+class Libdrm(Package):
+ """A userspace library for accessing the DRM, direct
+ rendering manager, on Linux, BSD and other operating
+ systems that support the ioctl interface."""
+
+ homepage = "http://dri.freedesktop.org/libdrm/" # no real website...
+ url = "http://dri.freedesktop.org/libdrm/libdrm-2.4.59.tar.gz"
+
+ version('2.4.59', '105ac7af1afcd742d402ca7b4eb168b6')
+
+ # FIXME: Add dependencies if this package requires them.
+ # depends_on("foo")
+
+ 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")
diff --git a/var/spack/packages/libxcb/package.py b/var/spack/packages/libxcb/package.py
new file mode 100644
index 0000000000..521cd0d475
--- /dev/null
+++ b/var/spack/packages/libxcb/package.py
@@ -0,0 +1,21 @@
+from spack import *
+
+class Libxcb(Package):
+ """The X protocol C-language Binding (XCB) is a replacement
+ for Xlib featuring a small footprint, latency hiding, direct
+ access to the protocol, improved threading support, and
+ extensibility."""
+
+ homepage = "http://xcb.freedesktop.org/"
+ url = "http://xcb.freedesktop.org/dist/libxcb-1.11.tar.gz"
+
+ version('1.11', '1698dd837d7e6e94d029dbe8b3a82deb')
+
+ depends_on("python")
+ depends_on("xcb-proto")
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+
+ make()
+ make("install")
diff --git a/var/spack/packages/libxshmfence/package.py b/var/spack/packages/libxshmfence/package.py
new file mode 100644
index 0000000000..3aa2448b46
--- /dev/null
+++ b/var/spack/packages/libxshmfence/package.py
@@ -0,0 +1,16 @@
+from spack import *
+
+class Libxshmfence(Package):
+ """This is a tiny library that exposes a event API on top of Linux
+ futexes."""
+
+ homepage = "http://keithp.com/blogs/dri3_extension/" # not really...
+ url = "http://xorg.freedesktop.org/archive/individual/lib/libxshmfence-1.2.tar.gz"
+
+ version('1.2', 'f0b30c0fc568b22ec524859ee28556f1')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+
+ make()
+ make("install")
diff --git a/var/spack/packages/xcb-proto/package.py b/var/spack/packages/xcb-proto/package.py
new file mode 100644
index 0000000000..17a94bd892
--- /dev/null
+++ b/var/spack/packages/xcb-proto/package.py
@@ -0,0 +1,15 @@
+from spack import *
+
+class XcbProto(Package):
+ """Protocol for libxcb"""
+
+ homepage = "http://xcb.freedesktop.org/"
+ url = "http://xcb.freedesktop.org/dist/xcb-proto-1.11.tar.gz"
+
+ version('1.11', 'c8c6cb72c84f58270f4db1f39607f66a')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+
+ make()
+ make("install")