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 <jacknagel@gmail.com>
This commit is contained in:
Andrew Bennett 2011-08-31 15:36:42 -06:00 committed by Jack Nagel
parent 852263634a
commit fd5db48ba7
2 changed files with 13 additions and 0 deletions

1
Aliases/lcms2 Symbolic link
View file

@ -0,0 +1 @@
../Formula/little-cms2.rb

12
Formula/little-cms2.rb Normal file
View file

@ -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