spack/var/spack/repos/builtin/packages/libxxf86vm/package.py
2021-01-06 08:56:22 +01:00

30 lines
939 B
Python

# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Libxxf86vm(AutotoolsPackage, XorgPackage):
"""libXxf86vm - Extension library for the XFree86-VidMode X extension."""
homepage = "http://cgit.freedesktop.org/xorg/lib/libXxf86vm"
xorg_mirror_path = "lib/libXxf86vm-1.1.4.tar.gz"
version('1.1.4', sha256='5108553c378a25688dcb57dca383664c36e293d60b1505815f67980ba9318a99')
depends_on('libx11@1.6:')
depends_on('libxext')
depends_on('xproto')
depends_on('xextproto')
depends_on('xf86vidmodeproto@2.2.99.1:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
@property
def libs(self):
return find_libraries(
'libXxf86vm', self.prefix, shared=True, recursive=True)