diff options
| author | Jannis Leidel | 2010-05-03 18:36:04 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2010-05-03 09:46:41 -0700 |
| commit | f89adafa891d8a8e8cac694b6a4ec2cb421c3de3 (patch) | |
| tree | 3a245fd309c37d598b080e6a65205dad4479801a /Library/Formula | |
| parent | fff7d4de133245a2499fe8714f3e0ec9cd17e9eb (diff) | |
| download | homebrew-f89adafa891d8a8e8cac694b6a4ec2cb421c3de3.tar.bz2 | |
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
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 |
