blob: fa491f860b000b786e551682b327ca2e6b9837e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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
fails_with_llvm "Compiling with LLVM gives a segfault while linking."
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--without-gtk",
"--without-gimp"
system "make install"
(share+'pixmaps').rmtree
end
end
|