Skip to content

Instantly share code, notes, and snippets.

@norisu0313
Last active December 12, 2015 02:08
Show Gist options
  • Save norisu0313/3060cc5b88312b8573df to your computer and use it in GitHub Desktop.
Save norisu0313/3060cc5b88312b8573df to your computer and use it in GitHub Desktop.
brew install --env=std --HEAD screen-vertical-split
require 'formula'
class ScreenVerticalSplit < Formula
homepage 'http://www.gnu.org/software/screen/'
url 'http://ftp.gnu.org/gnu/screen/screen-4.0.3.tar.gz'
mirror 'http://ftp.gnu.org/gnu/screen/screen-4.0.3.tar.gz'
md5 '8506fd205028a96c741e4037de6e3c42'
head 'git://git.savannah.gnu.org/screen.git', :branch => 'master'
if ARGV.build_head?
depends_on 'autoconf'
depends_on 'libtool'
depends_on 'automake'
end
def install
if ARGV.build_head?
Dir.chdir('src')
system "./autogen.sh"
end
system "./configure", "--enable-colors256",
"--prefix=#{prefix}",
"--mandir=#{man}",
"--infodir=#{info}"
if ARGV.build_head?
system 'bash osdef.sh'
end
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