homebrew-core/Formula/vips.rb
Alessandro Tagliapietra f5047b6abf vips: remove optional flag on jpeg
I've removed the optional flag to jpeg since without jpeg library it fails to build even if configure script figures that the libjpeg is missing and disabled import/export with libjpeg.

Closes Homebrew/homebrew#18638.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-03-21 11:26:40 -05:00

32 lines
1 KiB
Ruby

require 'formula'
class Vips < Formula
homepage 'http://www.vips.ecs.soton.ac.uk/'
url 'http://www.vips.ecs.soton.ac.uk/supported/7.32/vips-7.32.1.tar.gz'
sha1 'f07cb324c9695129d2de0c140943865dcb99268f'
depends_on 'pkg-config' => :build
depends_on :libpng
depends_on :fontconfig
depends_on 'gettext'
depends_on 'glib'
# Removed the optional flag to jpeg library as a temporary workaround since it fails to build
# Already reported on project here https://github.com/jcupitt/libvips/issues/57
depends_on 'jpeg'
depends_on 'openslide' => :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