homebrew-core/Formula/csstidy.rb
Jack Nagel bb44922515 Use ENV.make_jobs in formulae
Some formulae are still calling Hardware.processor_count; replace those
instances with ENV.make_jobs.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-15 00:05:15 -05:00

16 lines
385 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 #{ENV.make_jobs}",
"arch=#{arch}"
bin.install "release/csstidy/csstidy"
end
end