homebrew-core/Formula/csstidy.rb
2011-03-12 11:55:09 -08:00

16 lines
396 B
Ruby

require 'formula'
class Csstidy < Formula
head 'http://csstidy.svn.sourceforge.net/svnroot/csstidy/trunk-cpp/'
homepage 'http://csstidy.sourceforge.net/'
depends_on 'scons' => :build
def install
arch = Hardware.is_64_bit? ? 'x64' : 'ia32'
system "scons", "-j #{Hardware.processor_count}",
"arch=#{arch}"
bin.install "release/csstidy/csstidy"
end
end