Skip to content

Instantly share code, notes, and snippets.

@non
Created Feb 1, 2014
Embed
What would you like to do?
ncursesw formula for homebrew. not sure where this came from but it seemed to work
require 'formula'
class Ncursesw <Formula
#url 'http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.7.tar.gz'
#md5 'cce05daf61a64501ef6cd8da1f727ec6'
url 'ftp://invisible-island.net/ncurses/ncurses-5.8.tar.gz'
sha256 '51597f89fd53aa990321954e33e5b4869c4a5ee6137bfa800f98f91d4b6b54b5'
#url 'ftp://invisible-island.net/ncurses/ncurses-5.9.tar.gz'
#sha256 '9046298fb440324c9d4135ecea7879ffed8546dd1b58e59430ea07a4633f563b'
homepage 'http://www.gnu.org/software/ncurses/ncurses.html'
def install
system "./configure", "--prefix=#{prefix}",
"--mandir=#{man}",
"--disable-debug",
"--disable-dependency-tracking",
"--enable-widec",
"--disable-rpath",
"--with-shared",
"--with-abi-version=5",
"--without-ada",
"--without-cxx",
"--without-cxx-binding",
"--enable-safe-sprintf",
"--enable-sigwinch",
"--enable-ext-colors"
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment