6460a08775
Upgrade ii to version 1.6. Add another item to the inreplace so that we use our `ENV.cc`. Tested on Lion with cland and llvm from XCode-4.3.3. Closes Homebrew/homebrew#12871. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
15 lines
335 B
Ruby
15 lines
335 B
Ruby
require 'formula'
|
|
|
|
class Ii < Formula
|
|
homepage 'http://tools.suckless.org/ii'
|
|
url 'http://dl.suckless.org/tools/ii-1.6.tar.gz'
|
|
sha1 'cd6c2a6c97d1e4d46018709bb25ff96fbdb47d33'
|
|
|
|
def install
|
|
inreplace 'config.mk' do |s|
|
|
s.gsub! '/usr/local', prefix
|
|
s.gsub! 'cc', ENV.cc
|
|
end
|
|
system "make install"
|
|
end
|
|
end
|