-
-
Save norisu0313/3060cc5b88312b8573df to your computer and use it in GitHub Desktop.
brew install --env=std --HEAD screen-vertical-split
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 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