Skip to content

Instantly share code, notes, and snippets.

@lowol
Created June 28, 2012 17:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lowol/3012658 to your computer and use it in GitHub Desktop.
Save lowol/3012658 to your computer and use it in GitHub Desktop.
brew install screen-devel
$ export CC=gcc
$ brew install -f --use-llvm https://raw.github.com/gist/3012658/c0c139fc9c65303722647e11d8351d53d88b4311/screen-devel.rb
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