homebrew-core/Formula/vips.rb

29 lines
828 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Vips < Formula
homepage 'http://www.vips.ecs.soton.ac.uk/'
url 'http://www.vips.ecs.soton.ac.uk/supported/current/vips-7.30.2.tar.gz'
sha1 '5fac9ca28660bb3457290709988911b161239f8c'
depends_on 'pkg-config' => :build
depends_on :libpng
depends_on :fontconfig
depends_on 'gettext'
depends_on 'glib'
depends_on 'jpeg' => :optional
depends_on 'libtiff' => :optional
depends_on 'imagemagick' => :optional
depends_on 'fftw' => :optional
depends_on 'little-cms' => :optional
depends_on 'pango' => :optional
depends_on 'libexif' => :optional
depends_on 'liboil' => :optional
depends_on 'openexr' => :optional
depends_on 'cfitsio' => :optional
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
end