homebrew-core/Formula/pngrewrite.rb
2011-03-12 11:55:09 -08:00

13 lines
389 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