diff options
| author | Max Howell | 2009-05-22 20:09:03 +0100 |
|---|---|---|
| committer | Max Howell | 2009-05-22 20:09:03 +0100 |
| commit | 0a9e8362e449bf608ec9efca556f23b5b0a18465 (patch) | |
| tree | 56233dbb59890a0ca582dbe64ccafeb1c00ea467 /Formula | |
| parent | 77d3913bf86221fb4d336f5429afb96099ccd66e (diff) | |
| download | brew-0a9e8362e449bf608ec9efca556f23b5b0a18465.tar.bz2 | |
Pngcrush formula
Diffstat (limited to 'Formula')
| -rw-r--r-- | Formula/pngcrush.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Formula/pngcrush.rb b/Formula/pngcrush.rb new file mode 100644 index 000000000..0a60781f3 --- /dev/null +++ b/Formula/pngcrush.rb @@ -0,0 +1,13 @@ +$:.unshift "#{File.dirname __FILE__}/../Cellar/homebrew" #rubysucks +require 'brewkit' + +homepage='http://pmt.sourceforge.net/pngcrush/' +url='http://kent.dl.sourceforge.net/sourceforge/pmt/pngcrush-1.6.17.tar.bz2' +md5='8ba31ae9b1b14e7648df320fd1ed27c7' + +Formula.new(url, md5).brew do |prefix| + system "make" + bin=prefix+'bin' + bin.mkpath + FileUtils.cp 'pngcrush', bin +end
\ No newline at end of file |
