2010-03-04 01:01:47 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Ufraw < Formula
|
2011-04-27 21:03:13 +00:00
|
|
|
url 'http://sourceforge.net/project/downloading.php?group_id=127649&filename=ufraw-0.18.tar.gz'
|
2010-03-04 01:01:47 +00:00
|
|
|
homepage 'http://ufraw.sourceforge.net'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '41c9ad7aa7f1cbb63a6b0b330b3599b18a7e8cd2'
|
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
|
|
|
|
|
2012-03-18 20:33:24 +00:00
|
|
|
fails_with :llvm do
|
|
|
|
cause "Segfault while linking"
|
|
|
|
end
|
2011-03-21 21:24:22 +00:00
|
|
|
|
2010-03-04 01:01:47 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--without-gtk",
|
|
|
|
"--without-gimp"
|
|
|
|
system "make install"
|
|
|
|
(share+'pixmaps').rmtree
|
|
|
|
end
|
|
|
|
end
|