61b2307139
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.
21 lines
732 B
Ruby
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
|