homebrew-core/Formula/pngrewrite.rb
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00

13 lines
388 B
Ruby

require 'formula'
class Pngrewrite <Formula
url 'http://entropymine.com/jason/pngrewrite/pngrewrite-1.3.0.zip'
homepage 'http://entropymine.com/jason/pngrewrite/'
md5 '37216932d12bf9b47dca1f45724080d6'
def install
ENV.libpng
system "#{ENV.cc} #{ENV['CFLAGS']} #{ENV['CPPFLAGS']} -o pngrewrite pngrewrite.c #{ENV['LDFLAGS']} -lpng"
bin.install 'pngrewrite'
end
end