rxvt-unicode: use new dsl

master
Adam Vandenberg 2012-08-26 22:06:41 -07:00
parent 8e4e8f19c0
commit a23c45d662
1 changed files with 7 additions and 9 deletions

View File

@ -1,16 +1,13 @@
require 'formula'
class RxvtUnicode < Formula
url 'http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-9.15.tar.bz2'
homepage 'http://software.schmorp.de/pkg/rxvt-unicode.html'
url 'http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-9.15.tar.bz2'
sha1 'e6fdf091860ecb458730dc68b0176f67f207a2f7'
depends_on 'pkg-config' => :build
option "disable-iso14755", "Disable ISO 14775 Shift+Ctrl hotkey"
fails_with :llvm do
build 2336
cause "memory fences not defined for your architecture"
end
depends_on 'pkg-config' => :build
def patches
# Patch hunks 1 and 2 allow perl support to compile on Intel.
@ -19,8 +16,9 @@ class RxvtUnicode < Formula
DATA
end
def options
[["--disable-iso14755", "Disable ISO 14775 Shift+Ctrl hotkey"]]
fails_with :llvm do
build 2336
cause "memory fences not defined for your architecture"
end
def install
@ -33,7 +31,7 @@ class RxvtUnicode < Formula
"--with-terminfo=/usr/share/terminfo",
"--enable-smart-resize"]
args << "--disable-iso14755" if ARGV.include? "--disable-iso14755"
args << "--disable-iso14755" if build.include? "disable-iso14755"
system "./configure", *args
system "make"