2012-03-05 12:19:18 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Exempi < Formula
|
|
|
|
homepage 'http://libopenraw.freedesktop.org/wiki/Exempi'
|
2012-08-17 19:10:16 +00:00
|
|
|
url 'http://libopenraw.freedesktop.org/download/exempi-2.2.0.tar.bz2'
|
|
|
|
sha1 '8c90ee42fef86890e4850c3562f8044f9cd66cfb'
|
2012-03-05 12:19:18 +00:00
|
|
|
|
|
|
|
depends_on 'boost'
|
|
|
|
|
2012-09-04 14:18:11 +00:00
|
|
|
def patches
|
|
|
|
# Exempi 2.2.0's Mac-specific file handling code fails semi-randomly
|
|
|
|
# This patch is in the upstream git repo & should be in next version
|
|
|
|
"http://cgit.freedesktop.org/exempi/patch/?id=720fdbc86b625a45dd28226f829be0764b8ebc58"
|
|
|
|
end
|
|
|
|
|
2012-03-05 12:19:18 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}", "--with-boost=#{HOMEBREW_PREFIX}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|