homebrew-core/Formula/readline.rb
Adam Vandenberg c491bc9ed2 Revert readline to version 5.2, but add patches
This is because Python 2.6 needs this. As soon as something needs readline 6,
we need to support both, which of course we can :)
2009-08-10 18:12:16 +01:00

18 lines
520 B
Ruby

require 'brewkit'
class Readline <Formula
@url='ftp://ftp.gnu.org/gnu/readline/readline-5.2.tar.gz'
@homepage='http://tiswww.case.edu/php/chet/readline/rltop.html'
@md5='e39331f32ad14009b9ff49cc10c5e751'
def patches
(1..14).collect {|n| "ftp://ftp.gnu.org/gnu/readline/readline-5.2-patches/readline52-%03d"%n}
end
def install
system "./configure", "--prefix=#{prefix}",
"--mandir=#{man}",
"--infodir=#{info}"
system "make install"
end
end