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-12-20 12:58:10 +00:00
|
|
|
url 'http://www.vips.ecs.soton.ac.uk/supported/7.30/vips-7.30.6.tar.gz'
|
|
|
|
sha1 'f13aa134e39e2f6c126e393ff3ee841632defcb4'
|
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
|