aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/csstidy.rb
blob: 289f72db2eb2cb843f73f5c7d405105877bb3f0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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