# IT4Innovations # PH 2025 easyblock = 'ConfigureMake' name = 'tclreadline' version = '2.4.0' homepage = 'https://github.com/flightaware/tclreadline' description = "tclreadline connects Tcl with GNU readline for interactive scripting." toolchain = {'name': 'GCCcore', 'version': '13.2.0'} # https://github.com/flightaware/tclreadline/archive/refs/tags/v2.4.0.tar.gz source_urls = ['https://github.com/flightaware/tclreadline/archive/refs/tags/'] sources = [f'v{version}.tar.gz'] checksums = [ '306f9a72ef3ad9ff7a8549f1c616edef5365b98bce7e62fdde6e595355c0faee' # v2.4.0.tar.gz ] dependencies = [ ('Tcl', '8.6.13'), ('Tk', '8.6.13'), ('libreadline', '8.2') ] builddependencies = [ ('libtool', '2.4.7'), ('Automake', '1.16.5'), ('Autoconf', '2.71'), ] preconfigopts = './autogen.sh' configopts = '--with-tcl=/apps/all/Tcl/8.6.13-GCCcore-13.2.0/lib ' configopts += '--with-tk=/apps/all/Tk/8.6.13-GCCcore-13.2.0/lib ' configopts += '--with-readline-includes=/apps/all/libreadline/8.2-GCCcore-13.2.0/include/readline ' configopts += '--enable-tclshrl --enable-wishrl ' sanity_check_paths = { 'files': ['lib/libtclreadline.so','lib/libtclreadline-2.4.0.so','share/man/mann/tclreadline.n'], 'dirs': ['lib/tclreadline2.4.0'], } sanity_check_commands = [ 'tclshrl --version', 'wishrl --version', ] moduleclass = 'tools'