forked from Homebrew/legacy-homebrew
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add bug-fixed screen 4.00.03
Signed-off-by: Adam Vandenberg <flangy@gmail.com> (cherry picked from commit bfb0d37)
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
require 'formula' | ||
|
||
# This duplicates the system "screen", but fixes the ability | ||
# to use vertical splits. | ||
|
||
class Screen <Formula | ||
url 'http://ftp.gnu.org/gnu/screen/screen-4.0.3.tar.gz' | ||
homepage 'http://www.gnu.org/software/screen' | ||
md5 '8506fd205028a96c741e4037de6e3c42' | ||
version '4.00.03' | ||
|
||
head 'git://git.savannah.gnu.org/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}", | ||
"--enable-colors256" | ||
system "make" | ||
system "make install" | ||
end | ||
end |