Files
tigerbrew/Library/Formula/ii.rb
T
nibbles 2bits 3c7cf14402 ii 1.6
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 #12871.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-16 10:31:50 -05:00

16 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