spack/var/spack/repos/builtin/packages/libtirpc/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

23 lines
771 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 Libtirpc(AutotoolsPackage):
"""Libtirpc is a port of Suns Transport-Independent RPC library to Linux.
"""
homepage = "https://sourceforge.net/projects/libtirpc/"
url = "https://sourceforge.net/projects/libtirpc/files/libtirpc/1.1.4/libtirpc-1.1.4.tar.bz2/download"
version('1.1.4', sha256='2ca529f02292e10c158562295a1ffd95d2ce8af97820e3534fe1b0e3aec7561d')
# FIXME: build error on macOS
# auth_none.c:81:9: error: unknown type name 'mutex_t'
def configure_args(self):
return ['--disable-gssapi']