# IT4Innovations 2023 # JK easyblock = 'ConfigureMake' name = 'libnsl' version = '2.0.0' homepage = 'https://github.com/thkukuk/libnsl' description = """The libnsl package contains the public client interface for NIS(YP).""" toolchain = {'name': 'GCCcore', 'version': '11.3.0'} source_urls = ['https://github.com/thkukuk/%(name)s/releases/download/v%(version)s/'] sources = [SOURCE_TAR_XZ] checksums = ['2da075ef1893ebdfc5f074f83ac811873dc06fd5c62bc9a4729fd2e27a40341a'] builddependencies = [ ('binutils', '2.38'), ] 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/yp.h', 'lib/libnsl.a', 'lib/libnsl.%s' % SHLIB_EXT, 'lib/libnsl.%s.1' % SHLIB_EXT], 'dirs': ['include'] } moduleclass = 'devel'