homebrew-core/Formula/ncursesw.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

21 lines
732 B
Ruby

require 'formula'
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