2012-03-05 12:19:18 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Exempi < Formula
|
|
|
|
homepage 'http://libopenraw.freedesktop.org/wiki/Exempi'
|
2014-02-02 21:00:36 +00:00
|
|
|
url 'http://libopenraw.freedesktop.org/download/exempi-2.2.1.tar.bz2'
|
|
|
|
sha1 '0ca233e81d6f6fef94ac13202ce9a66b584d482e'
|
2012-03-05 12:19:18 +00:00
|
|
|
|
|
|
|
depends_on 'boost'
|
|
|
|
|
2014-03-17 00:35:07 +00:00
|
|
|
# https://bugs.freedesktop.org/show_bug.cgi?id=73058
|
|
|
|
patch do
|
|
|
|
url "http://cgit.freedesktop.org/exempi/patch/?id=75af16b221dca0bf6a9656d5b187c3141d82c200"
|
|
|
|
sha1 "a5ccc2f56ff685a52578ddcca2dc12105347c1d2"
|
2012-09-04 14:18:11 +00:00
|
|
|
end
|
|
|
|
|
2012-03-05 12:19:18 +00:00
|
|
|
def install
|
2014-02-02 21:00:36 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-boost=#{HOMEBREW_PREFIX}"
|
2012-03-05 12:19:18 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|