homebrew-core/Formula/imageworsener.rb
Gustavo Delfino 3e23386d02 imageworsener: add libpng dependency
Without this, imageworsener is very limited as
it can not write png files

Closes Homebrew/homebrew#15089.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-25 06:43:35 -07:00

18 lines
454 B
Ruby

require 'formula'
class Imageworsener < Formula
homepage 'http://entropymine.com/imageworsener/'
url 'http://entropymine.com/imageworsener/imageworsener-src-0.9.10.tar.gz'
sha1 'd908a08e3e402052a22390aa865cbb5a6e30d465'
depends_on :libpng => :recommended
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
def test
system "#{bin}/imagew", "--version"
end
end