2012-08-14 19:03:30 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Imageworsener < Formula
|
|
|
|
homepage 'http://entropymine.com/imageworsener/'
|
2013-11-30 20:49:59 +00:00
|
|
|
url 'http://entropymine.com/imageworsener/imageworsener-1.1.0.tar.gz'
|
|
|
|
sha1 'ce552890396efc03f0e7860b74cd635e5185858d'
|
2012-08-14 19:03:30 +00:00
|
|
|
|
2012-09-24 21:43:54 +00:00
|
|
|
depends_on :libpng => :recommended
|
|
|
|
|
2012-08-14 19:03:30 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
|
|
|
system "#{bin}/imagew", "--version"
|
|
|
|
end
|
|
|
|
end
|