Skip to content

Instantly share code, notes, and snippets.

@lavallee
Created December 2, 2011 17:51
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lavallee/1424164 to your computer and use it in GitHub Desktop.
Save lavallee/1424164 to your computer and use it in GitHub Desktop.
Homebrew Formula for screen 4.0.3 that has vertical split and works on Snow Leopard
require 'formula'
# This duplicates the system "screen", but fixes the ability
# to use vertical splits.
class Screen < Formula
url 'http://ftpmirror.gnu.org/screen/screen-4.0.3.tar.gz'
homepage 'http://www.gnu.org/software/screen'
md5 '8506fd205028a96c741e4037de6e3c42'
version '4.00.03'
head 'git://github.com/lavallee/screen.git', :branch => 'master'
def patches
"http://trac.macports.org/raw-attachment/ticket/20862/screen-4.0.3-snowleopard.patch"
end unless ARGV.build_head?
def install
if ARGV.build_head?
cd 'src'
system "autoconf"
system "autoheader"
end
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}", "--infodir=#{info}",
"--enable-colors256"
system "make"
system "make install"
end
end
@tamsky
Copy link

tamsky commented Jan 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment