mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Pngcrush formula
This commit is contained in:
parent
77d3913bf8
commit
0a9e8362e4
13
Formula/pngcrush.rb
Normal file
13
Formula/pngcrush.rb
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user