2010-08-05 05:08:38 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Vips < Formula
|
2010-08-05 05:08:38 +00:00
|
|
|
homepage 'http://www.vips.ecs.soton.ac.uk/'
|
2012-09-08 18:33:33 +00:00
|
|
|
url 'http://www.vips.ecs.soton.ac.uk/supported/current/vips-7.30.2.tar.gz'
|
|
|
|
sha1 '5fac9ca28660bb3457290709988911b161239f8c'
|
2010-08-05 05:08:38 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2012-06-07 01:35:12 +00:00
|
|
|
depends_on :libpng
|
2012-08-27 01:11:14 +00:00
|
|
|
depends_on :fontconfig
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'glib'
|
2010-08-05 05:08:38 +00:00
|
|
|
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
|
2012-08-02 07:02:55 +00:00
|
|
|
depends_on 'cfitsio' => :optional
|
2010-08-05 05:08:38 +00:00
|
|
|
|
|
|
|
def install
|
2012-08-02 07:02:55 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
2010-08-05 05:08:38 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|