diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/csstidy.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/csstidy.rb b/Library/Formula/csstidy.rb new file mode 100644 index 000000000..404adeeb8 --- /dev/null +++ b/Library/Formula/csstidy.rb @@ -0,0 +1,16 @@ +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 |
