diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/dri2proto/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/dri2proto/package.py | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/dri2proto/package.py b/var/spack/repos/builtin/packages/dri2proto/package.py index 65b86714f1..d05e7ea231 100644 --- a/var/spack/repos/builtin/packages/dri2proto/package.py +++ b/var/spack/repos/builtin/packages/dri2proto/package.py @@ -26,14 +26,21 @@ 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" + """Direct Rendering Infrastructure 2 Extension. + + This extension defines a protocol to securely allow user applications to + access the video hardware without requiring data to be passed through the + X server.""" + + homepage = "https://cgit.freedesktop.org/xorg/proto/dri2proto/" + url = "https://www.x.org/releases/individual/proto/dri2proto-2.8.tar.gz" version('2.8', '19ea18f63d8ae8053c9fa84b60365b77') + depends_on('pkg-config@0.9.0:', type='build') + depends_on('util-macros', type='build') + def install(self, spec, prefix): - configure("--prefix=%s" % prefix) + configure('--prefix={0}'.format(prefix)) - make() - make("install") + make('install') |