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/'
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
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