spack/var/spack/repos/builtin/packages/libxdmcp/package.py
Adam J. Stewart b43e8fcaa7
Python: optional dependencies and post-installation tests (#10335)
* Add post-installation tests to Python package

* libbsd does not build on macOS

* Make Python dependencies optional

* Add readline dep, remove ncurses patch, fix autoreconf
2019-02-23 12:36:26 -06:00

22 lines
742 B
Python

# Copyright 2013-2019 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 Libxdmcp(AutotoolsPackage):
"""libXdmcp - X Display Manager Control Protocol library."""
homepage = "http://cgit.freedesktop.org/xorg/lib/libXdmcp"
url = "https://www.x.org/archive/individual/lib/libXdmcp-1.1.2.tar.gz"
version('1.1.2', 'ab0d6a38f0344a05d698ec7d48cfa5a8')
depends_on('xproto', type='build')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
depends_on('libbsd', when='platform=linux')
depends_on('libbsd', when='platform=cray')