forumula: rxvt-unicode

A new formula for urxvt (rxvt-unicode), with 256 color support.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Caveats
This commit is contained in:
cloudhead 2010-04-05 18:43:38 -04:00 committed by Adam Vandenberg
parent bdf0b0231f
commit bb1fd07c02

34
Formula/rxvt-unicode.rb Normal file
View file

@ -0,0 +1,34 @@
require 'formula'
class RxvtUnicode < Formula
url 'http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-9.07.tar.bz2'
homepage 'http://software.schmorp.de/pkg/rxvt-unicode.html'
md5 '49bb52c99e002bf85eb41d8385d903b5'
aka :urxvt
def patches
# Add 256 color support
{:p1 => "doc/urxvt-8.2-256color.patch"}
end
def install
system "./configure",
"--prefix=#{prefix}",
"--disable-afterimage",
"--disable-perl",
"--enable-256-color",
"--with-term=rxvt-256color",
"--disable-dependency-tracking"
system "make"
# `make` won't work unless we rename this
system "mv INSTALL README.install"
system "make install"
end
def caveats
"This software runs under X11."
end
end