2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-05 09:19:52 +00:00
|
|
|
|
|
|
|
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
|
2009-12-17 14:58:35 +00:00
|
|
|
ENV.gcc_4_2
|
2009-10-05 09:19:52 +00:00
|
|
|
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
|