homebrew-core/Formula/csstidy.rb
Jannis Leidel 3cbd7e5b81 Added formula for CSSTidy.
Uses the trunk checkout due to unsuccessful extraction of the proper
source zip file.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Use 'head'
* Use http instead of https
* Build in parallel
2010-05-03 09:46:41 -07: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'
def install
arch = Hardware.is_64_bit? ? 'x64' : 'ia32'
system "scons", "-j #{Hardware.processor_count}",
"arch=#{arch}"
bin.install "release/csstidy/csstidy"
end
end