Files
tigerbrew/Library/Formula/little-cms.rb
T
Jack Nagel f8f2f43c44 lcms and lcms2: add optional deps on jpeg and tiff
These things are picked up if they are installed, and as they are pretty
lightweight we may as well mark them as optional deps.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-30 19:12:26 -06:00

17 lines
445 B
Ruby

require 'formula'
class LittleCms < Formula
url 'http://www.littlecms.com/1/lcms-1.19.tar.gz'
mirror 'http://sourceforge.net/projects/lcms/files/lcms/1.19/lcms-1.19.tar.gz'
homepage 'http://www.littlecms.com/'
md5 '8af94611baf20d9646c7c2c285859818'
depends_on 'jpeg' => :optional
depends_on 'libtiff' => :optional
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug"
system "make install"
end
end