f9c280c536
For the following reasons: - The main downloads page at littlecms.com directs users to SourceForge. - The parent site of the little-cms 1.x downloads, littlecms.com/1 looks ancient and unmaintained. - The server that provides the 1.x downloads does not properly set Content-Encoding and Content-Type headers which causes some proxies to perform on-the-fly gunzipping. This causes the checksum to fail. Closes Homebrew/homebrew#12418. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
15 lines
390 B
Ruby
15 lines
390 B
Ruby
require 'formula'
|
|
|
|
class LittleCms < Formula
|
|
url '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
|