2011-03-10 05:11:03 +00:00
|
|
|
class Exif < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Read, write, modify, and display EXIF data on the command-line"
|
2015-07-09 19:13:23 +00:00
|
|
|
homepage "http://libexif.sourceforge.net/"
|
|
|
|
url "https://downloads.sourceforge.net/project/libexif/exif/0.6.21/exif-0.6.21.tar.gz"
|
|
|
|
sha256 "1e2e40e5d919edfb23717308eb5aeb5a11337741e6455c049852128a42288e6d"
|
|
|
|
|
2015-07-09 19:53:37 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha256 "ebf412bb43ad3695f01f8ed1e5851e7c02218589fc7cbb175c9a3f1914894e37" => :yosemite
|
|
|
|
sha256 "e24a0bdfee07a46a49620c29726748e73a4eca0937c59c1f5efeeb51ea9f6971" => :mavericks
|
|
|
|
sha256 "0d5997d1d013822aee275d0e65403a1d99b579f53c2ee131b5b121d85377665d" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2015-07-09 19:13:23 +00:00
|
|
|
option "with-gettext", "Build with Native Language Support"
|
2009-12-16 12:11:53 +00:00
|
|
|
|
2015-07-09 19:13:23 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "popt"
|
|
|
|
depends_on "libexif"
|
|
|
|
depends_on "gettext" => :optional
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2009-12-16 12:11:53 +00:00
|
|
|
def install
|
2015-07-09 19:13:23 +00:00
|
|
|
args = %W[
|
|
|
|
--prefix=#{prefix}
|
|
|
|
--disable-dependency-tracking
|
|
|
|
--disable-silent-rules
|
|
|
|
]
|
|
|
|
|
|
|
|
args << "--disable-nls" if build.without? "gettext"
|
|
|
|
|
|
|
|
system "./configure", *args
|
|
|
|
system "make", "install"
|
2009-12-16 12:11:53 +00:00
|
|
|
end
|
|
|
|
end
|