rxvt-unicode: use new dsl
This commit is contained in:
parent
8e4e8f19c0
commit
a23c45d662
1 changed files with 7 additions and 9 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue