blob: cbcac3e02966d8d33c48526cab44f666d5cddcbb (
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
27
28
|
require 'formula'
class Ufraw < Formula
url 'http://sourceforge.net/project/downloading.php?group_id=127649&filename=ufraw-0.18.tar.gz'
homepage 'http://ufraw.sourceforge.net'
md5 '454f40a402928998a82e2645d9265d96'
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 do
cause "Segfault while linking"
end
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--without-gtk",
"--without-gimp"
system "make install"
(share+'pixmaps').rmtree
end
end
|