From fd5db48ba745bde7a146dec356de8ac4ce52b450 Mon Sep 17 00:00:00 2001 From: Andrew Bennett Date: Wed, 31 Aug 2011 15:36:42 -0600 Subject: [PATCH] New formula: little-cms2 Given the API incompatibilities between 1.x an 2.x, it is easier to maintain separate formulae for the time being. Luckily, the developers have made sure that the two can be installed alongside each other: the binaries have different names, the library is versioned, &c. Closes Homebrew/homebrew#7345. Signed-off-by: Jack Nagel --- Aliases/lcms2 | 1 + Formula/little-cms2.rb | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 120000 Aliases/lcms2 create mode 100644 Formula/little-cms2.rb diff --git a/Aliases/lcms2 b/Aliases/lcms2 new file mode 120000 index 0000000000..e32a712571 --- /dev/null +++ b/Aliases/lcms2 @@ -0,0 +1 @@ +../Formula/little-cms2.rb \ No newline at end of file diff --git a/Formula/little-cms2.rb b/Formula/little-cms2.rb new file mode 100644 index 0000000000..b6af2249d0 --- /dev/null +++ b/Formula/little-cms2.rb @@ -0,0 +1,12 @@ +require 'formula' + +class LittleCms2 < Formula + url 'http://sourceforge.net/projects/lcms/files/lcms/2.3/lcms2-2.3.tar.gz' + homepage 'http://www.littlecms.com/' + md5 '327348d67c979c88c2dec59a23a17d85' + + def install + system "./configure", "--prefix=#{prefix}" + system "make install" + end +end