Commit 78475c00 authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #694 from jam7/update/readline7

Add readline7.rb to install readline 7.0p3
parents 41cefa1e f3bc7ca6
require 'package'
class Readline7 < Package
version '7.0p3'
source_url 'ftp://ftp.gnu.org/gnu/readline/readline-7.0.tar.gz'
source_sha1 'd9095fa14a812495052357e1d678b3f2ac635463'
depends_on 'buildessential' => :build
depends_on 'patch' => :build
depends_on 'ncurses'
def self.build
system "wget -r -N -nd --no-parent ftp://ftp.gnu.org/gnu/readline/readline-7.0-patches -P readline-7.0-patches"
# system "for i in readline-7.0-patches/*.sig; do gpg $i; done"
system "for i in readline-7.0-patches/readline70-???; do patch < $i; done"
system "CC='gcc' ./configure --disable-static --with-curses"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment