homebrew-core/Formula/ufraw.rb
Andrew Crump 70c8c97f2c Update ufraw to 0.17
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-18 13:34:17 -07:00

25 lines
741 B
Ruby

require 'formula'
class Ufraw <Formula
url 'http://downloads.sourceforge.net/project/ufraw/ufraw/ufraw-0.17/ufraw-0.17.tar.gz'
homepage 'http://ufraw.sourceforge.net'
md5 '5e2c2b4adaea1f6d03eac66e11747fc6'
depends_on 'pkg-config' => :build
depends_on 'glib'
depends_on 'libtiff'
depends_on 'jpeg'
depends_on 'little-cms'
depends_on 'dcraw'
depends_on 'exiv2' => :optional
def install
fails_with_llvm "Compiling with LLVM gives a segfault while linking."
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--without-gtk",
"--without-gimp"
system "make install"
(share+'pixmaps').rmtree
end
end