2010-03-04 01:01:47 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Ufraw < Formula
|
2010-10-18 20:12:04 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/ufraw/ufraw/ufraw-0.17/ufraw-0.17.tar.gz'
|
2010-03-04 01:01:47 +00:00
|
|
|
homepage 'http://ufraw.sourceforge.net'
|
2010-10-18 20:12:04 +00:00
|
|
|
md5 '5e2c2b4adaea1f6d03eac66e11747fc6'
|
2010-03-04 01:01:47 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-03-04 01:01:47 +00:00
|
|
|
depends_on 'glib'
|
|
|
|
depends_on 'libtiff'
|
|
|
|
depends_on 'jpeg'
|
|
|
|
depends_on 'little-cms'
|
|
|
|
depends_on 'dcraw'
|
|
|
|
depends_on 'exiv2' => :optional
|
|
|
|
|
|
|
|
def install
|
2010-09-29 10:32:38 +00:00
|
|
|
fails_with_llvm "Compiling with LLVM gives a segfault while linking."
|
2010-03-04 01:01:47 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--without-gtk",
|
|
|
|
"--without-gimp"
|
|
|
|
system "make install"
|
|
|
|
(share+'pixmaps').rmtree
|
|
|
|
end
|
|
|
|
end
|