homebrew-core/Formula/pngcrush.rb

18 lines
431 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Pngcrush < Formula
homepage 'http://pmt.sourceforge.net/pngcrush/'
2012-02-04 05:29:44 +00:00
url 'http://downloads.sourceforge.net/project/pmt/pngcrush/1.7.24/pngcrush-1.7.24.tar.bz2'
md5 '9f29bd4bc05ae1415e5ad10241798794'
def install
# use our CFLAGS, LDFLAGS, CC, and LD
2010-08-08 00:31:10 +00:00
inreplace 'Makefile' do |s|
s.remove_make_var! %w[CFLAGS LDFLAGS CC LD]
2010-01-13 11:06:52 +00:00
end
system "make"
2009-06-14 23:55:18 +00:00
bin.install 'pngcrush'
end
end