2014-09-09 11:48:41 +00:00
|
|
|
require "formula"
|
2012-03-05 12:19:18 +00:00
|
|
|
|
|
|
|
class Exempi < Formula
|
2014-09-09 11:48:41 +00:00
|
|
|
homepage "http://libopenraw.freedesktop.org/wiki/Exempi"
|
|
|
|
url "http://libopenraw.freedesktop.org/download/exempi-2.2.2.tar.bz2"
|
|
|
|
sha1 "c0a0014e18f05aa7fac210c84788ef073718a9d8"
|
2012-03-05 12:19:18 +00:00
|
|
|
|
2014-09-09 11:36:59 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "c8d68d4bba7682029828eae8140f2e4612411ff1" => :mavericks
|
|
|
|
sha1 "97517b6dcf56680855be22f0c0521b9ae498613f" => :mountain_lion
|
|
|
|
sha1 "9d047f2558f28bfa9e008e4f4ec11939b74ec99d" => :lion
|
|
|
|
end
|
|
|
|
|
2014-09-09 11:48:41 +00:00
|
|
|
depends_on "boost"
|
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}"
|
2014-09-09 11:48:41 +00:00
|
|
|
system "make", "install"
|
2012-03-05 12:19:18 +00:00
|
|
|
end
|
|
|
|
end
|