Created
June 28, 2012 17:23
-
-
Save lowol/3012658 to your computer and use it in GitHub Desktop.
brew install screen-devel
This file contains 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
$ export CC=gcc | |
$ brew install -f --use-llvm https://raw.github.com/gist/3012658/c0c139fc9c65303722647e11d8351d53d88b4311/screen-devel.rb |
This file contains 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 ScreenDevel < Formula | |
url 'http://git.savannah.gnu.org/cgit/screen.git/snapshot/screen-master.tar.gz' | |
homepage 'http://www.gnu.org/software/screen/' | |
md5 'd08edcc04f5e62d0938bd59f0784895f' | |
depends_on 'autoconf' | |
def install | |
Dir.chdir('src') | |
system "touch osdef.h" | |
system "autoconf" | |
system "autoheader" | |
system "./configure", "--enable-colors256", | |
"--prefix=#{prefix}" | |
system "make" | |
system "make install" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment