7bd947eb0b
* 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
13 lines
388 B
Ruby
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
|