aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/exempi.rb
blob: 1bace70681bbcbd42be5707dccd407dcea7e00c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require 'formula'

class Exempi < Formula
  homepage 'http://libopenraw.freedesktop.org/wiki/Exempi'
  url 'http://libopenraw.freedesktop.org/download/exempi-2.2.1.tar.bz2'
  sha1 '0ca233e81d6f6fef94ac13202ce9a66b584d482e'

  depends_on 'boost'

  # https://bugs.freedesktop.org/show_bug.cgi?id=73058
  patch do
    url "http://cgit.freedesktop.org/exempi/patch/?id=75af16b221dca0bf6a9656d5b187c3141d82c200"
    sha1 "a5ccc2f56ff685a52578ddcca2dc12105347c1d2"
  end

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--with-boost=#{HOMEBREW_PREFIX}"
    system "make install"
  end
end