mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
Some formulae are still calling Hardware.processor_count; replace those instances with ENV.make_jobs. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
17 lines
385 B
Ruby
17 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
|