summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libxshmfence/package.py
blob: 3aa2448b46b21fa3f14cbeae047cf3c3405cb212 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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")