blob: 8cd120249dfdcdd260f621d02c48bcd3a7f636ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
require 'formula'
class Vifm < Formula
homepage 'http://vifm.sourceforge.net/index.html'
url 'http://downloads.sourceforge.net/project/vifm/vifm/vifm-0.7.5.tar.bz2'
sha1 '202b369b45d741e32a50084d902c4dcc33014915'
# This actually depends on Xcode 4.2 or newer, not Lion per se, as it will
# work on Snow Leopard running Xcode 4.2. This software uses the string
# functions `wcscasecmp` and `wcsncasecmp`, which were not present in
# earlier compiler sets.
# Note that someone could add implementations of these to str.c in this
# software and likely get it to compile across versions, if someone had the
# energy to attempt this.
depends_on :macos => :lion
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end
|