summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libdrm/package.py
blob: d5d779f796750092b9967f27b3a0df84c9d4100b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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')
    version('2.4.33', '86e4e3debe7087d5404461e0032231c8')

    depends_on('libpciaccess')

    def install(self, spec, prefix):
        configure("--prefix=%s" % prefix)

        make()
        make("install")