libreadline-6.3-foss-2017a.eb 1.27 KB
Newer Older
Lukáš Krupčík's avatar
Lukáš Krupčík committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
easyblock = 'ConfigureMake'

name = 'libreadline'
version = '6.3'

homepage = 'http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html'
description = """The GNU Readline library provides a set of functions for use by applications that
 allow users to edit command lines as they are typed in. Both Emacs and vi editing modes are available.
 The Readline library includes additional functions to maintain a list of previously-entered command lines,
 to recall and perhaps reedit those lines, and perform csh-like history expansion on previous commands."""

toolchain = {'name': 'foss', 'version': '2017a'}
toolchainopts = {'pic': True}

sources = ['readline-%(version)s.tar.gz']
source_urls = ['http://ftp.gnu.org/gnu/readline']

patches = ['libreadline-%(version)s-bugfix.patch']

dependencies = [('ncurses', '6.0')]

# for the termcap symbols, use EB ncurses
preconfigopts = "env LDFLAGS='-lncurses'"

sanity_check_paths = {
Lukáš Krupčík's avatar
Lukáš Krupčík committed
26 27 28 29 30 31 32 33 34 35 36 37 38 39
    'files': [
        'lib/libreadline.a',
        'lib/libhistory.a'] +
    [
        'include/readline/%s' %
        x for x in [
            'chardefs.h',
            'history.h',
            'keymaps.h',
            'readline.h',
            'rlconf.h',
            'rlstdc.h',
            'rltypedefs.h',
            'tilde.h']],
Lukáš Krupčík's avatar
Lukáš Krupčík committed
40 41 42 43
    'dirs': [],
}

moduleclass = 'lib'