2012-03-24 00:19:23 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Vifm < Formula
|
|
|
|
homepage 'http://vifm.sourceforge.net/index.html'
|
2013-06-20 23:08:35 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/vifm/vifm/vifm-0.7.5.tar.bz2'
|
2013-05-23 18:17:45 +00:00
|
|
|
sha1 '202b369b45d741e32a50084d902c4dcc33014915'
|
2012-03-24 00:19:23 +00:00
|
|
|
|
2013-08-17 19:07:08 +00:00
|
|
|
# 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
|
|
|
|
|
2012-03-24 00:19:23 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|