homebrew-core/Formula/pngcrush.rb
Jocelyn Mallon b68ace6301 pngcrush 1.7.17
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-10-01 20:31:01 -07:00

17 lines
431 B
Ruby

require 'formula'
class Pngcrush < Formula
homepage 'http://pmt.sourceforge.net/pngcrush/'
url 'http://downloads.sourceforge.net/project/pmt/pngcrush/1.7.17/pngcrush-1.7.17.tar.bz2'
md5 '80F5EBBE7D15C58B077EDAE7738F08AD'
def install
# use our CFLAGS, LDFLAGS, CC, and LD
inreplace 'Makefile' do |s|
s.remove_make_var! %w[CFLAGS LDFLAGS CC LD]
end
system "make"
bin.install 'pngcrush'
end
end