New formula: vips

libvips is a fully demand-driven, threaded image processing library with no image size limits and with good support for colour.

Signed-off-by: David Höppner <0xffea@gmail.com>
master
ender672 2010-08-04 22:08:38 -07:00 committed by David Höppner
parent f1ee17c6f2
commit ad33a6782e
1 changed files with 32 additions and 0 deletions

32
Formula/vips.rb Normal file
View File

@ -0,0 +1,32 @@
require 'formula'
class Vips <Formula
url 'http://www.vips.ecs.soton.ac.uk/supported/7.20/vips-7.20.7.tar.gz'
head 'http://www.vips.ecs.soton.ac.uk/supported/7.22/vips-7.22.2.tar.gz'
homepage 'http://www.vips.ecs.soton.ac.uk/'
if ARGV.build_head?
md5 'bb626458e82ff208ea531c304f65cb04'
else
md5 '6323a1311a0e7b544cea407d88b82e93'
end
depends_on 'jpeg' => :optional
depends_on 'libtiff' => :optional
depends_on 'libpng' => :optional
depends_on 'imagemagick' => :optional
depends_on 'glib'
depends_on 'fftw' => :optional
depends_on 'little-cms' => :optional
depends_on 'pango' => :optional
depends_on 'pkg-config'
depends_on 'libexif' => :optional
depends_on 'liboil' => :optional
depends_on 'openexr' => :optional
depends_on 'gettext'
def install
system "./configure", "--prefix=#{prefix}"
system "make install"
end
end