aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ncursesw.rb
blob: 0a1a4887d4ef9aef19970fe93d3fc6300c499c41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'brewkit'

class Ncursesw <Formula
  url 'http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.7.tar.gz'
  md5 'cce05daf61a64501ef6cd8da1f727ec6'
  homepage 'http://www.gnu.org/software/ncurses/ncurses.html'

  def install
    system "./configure", "--prefix=#{prefix}",
                          "--disable-debug",
                          "--disable-dependency-tracking",
                          "--enable-widec",
                          "--disable-rpath",
                          "--with-shared",
                          "--without-ada",
                          "--enable-safe-sprintf",
                          "--enable-sigwinch",
                          "--enable-ext-colors"
    system "make install"
  end
end