Add latest version of readline (#3452)

This commit is contained in:
Adam J. Stewart 2017-03-15 20:36:24 -05:00 committed by GitHub
parent caf209bdd7
commit 72890f4840

View File

@ -27,18 +27,19 @@
class Readline(AutotoolsPackage):
"""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."""
homepage = "http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
url = "https://ftp.gnu.org/gnu/readline/readline-6.3.tar.gz"
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."""
homepage = "http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
url = "https://ftp.gnu.org/gnu/readline/readline-7.0.tar.gz"
version('7.0', '205b03a87fc83dab653b628c59b9fc91')
version('6.3', '33c8fb279e981274f485fd91da77e94a')
depends_on("ncurses")
depends_on('ncurses')
def build(self, spec, prefix):
make("SHLIB_LIBS=-lncurses")
make('SHLIB_LIBS=-lncurses')