Created
November 6, 2010 16:16
-
-
Save mattscilipoti/665516 to your computer and use it in GitHub Desktop.
homebrew formula for dialog: http://en.wikipedia.org/wiki/Dialog_(software)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'formula' | |
| class Dialog <Formula | |
| url 'ftp://invisible-island.net/dialog/dialog.tar.gz' | |
| homepage 'http://en.wikipedia.org/wiki/Dialog_(software)' | |
| # wikipedia page is more complete than (and contains link to) | |
| # homepage 'http://invisible-island.net/dialog/' | |
| md5 '519c0a0cbac28ddb992111ec2c3f82aa' | |
| version '1.1.20070704' | |
| # Listing from `otool -L /usr/local/bin/dialog` | |
| # /usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0) | |
| # /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) | |
| # /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0) | |
| depends_on 'libiconv' | |
| # TODO: review these dependencies | |
| # depends_on 'ncurses' | |
| # depends_on 'System' | |
| def install | |
| # Note: default man page is top levelfolder, added --mandir | |
| system "./configure", "--disable-debug", "--disable-dependency-tracking", | |
| "--prefix=#{prefix}", "--mandir=#{man}" | |
| system "make install" | |
| end | |
| e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment