easyblock = 'ConfigureMake' name = 'libnsl' version = '1.3.0' homepage = 'https://github.com/thkukuk/libnsl' description = """The libnsl package contains the public client interface for NIS(YP).""" toolchain = {'name': 'GCCcore', 'version': '10.3.0'} source_urls = ['https://github.com/thkukuk/%(name)s/releases/download/v%(version)s/'] sources = [SOURCE_TAR_XZ] checksums = ['eac3062957fa302c62eff4aed718a07bacbf9ceb0a058289f12a19bfdda3c8e2'] builddependencies = [ ('binutils', '2.36.1'), ] dependencies = [ ('libtirpc', '1.3.2'), ] # Provide a symlink for libnsl.so.1, which used to be part of glibc. # This new version of libnsl should be backwards compatible. postinstallcmds = ['ln -s libnsl.so %(installdir)s/lib/libnsl.so.1'] sanity_check_paths = { 'files': ['include/rpcsvc/nis.h', 'include/rpcsvc/yp.h', 'lib/libnsl.a', 'lib/libnsl.%s' % SHLIB_EXT, 'lib/libnsl.%s.1' % SHLIB_EXT], 'dirs': ['include'] } moduleclass = 'devel'