2011-03-10 05:11:03 +00:00
|
|
|
class Exiftool < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Perl lib for reading and writing EXIF metadata"
|
2014-05-21 06:43:26 +00:00
|
|
|
homepage "http://www.sno.phy.queensu.ca/~phil/exiftool/index.html"
|
2016-02-23 21:56:23 +00:00
|
|
|
url "http://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-10.11.tar.gz"
|
|
|
|
sha256 "8cf8b2ec192fdbec5e1946bcf1ed9c7c681e6d16896298bbf7adb8eb59356729"
|
2010-02-11 16:51:52 +00:00
|
|
|
|
2014-08-04 11:27:10 +00:00
|
|
|
bottle do
|
2015-09-20 19:36:42 +00:00
|
|
|
cellar :any_skip_relocation
|
2016-02-23 22:17:01 +00:00
|
|
|
sha256 "6ba5c8524d2462d8a6608ebffef9c4e2b8fa923d809c4292c044768a7d9db809" => :el_capitan
|
|
|
|
sha256 "d76b0cd4853457378e8d527419e8cea8a5d8e63487e75a43c943ee943a4caed9" => :yosemite
|
|
|
|
sha256 "28920f699adb9e45ec79a9e504721b7984f1a9c82309bfdf0ad1917480e88057" => :mavericks
|
2014-08-04 11:27:10 +00:00
|
|
|
end
|
|
|
|
|
2010-02-11 16:51:52 +00:00
|
|
|
def install
|
2015-09-16 11:47:21 +00:00
|
|
|
# replace the hard-coded path to the lib directory
|
|
|
|
inreplace "exiftool", "$exeDir/lib", "#{libexec}/lib"
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2015-09-16 11:47:21 +00:00
|
|
|
system "perl", "Makefile.PL"
|
2010-06-02 14:29:11 +00:00
|
|
|
|
2015-09-16 11:47:21 +00:00
|
|
|
libexec.install "lib"
|
|
|
|
bin.install "exiftool"
|
2010-02-11 16:51:52 +00:00
|
|
|
end
|
2012-01-06 15:41:02 +00:00
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2015-09-16 11:47:21 +00:00
|
|
|
system "#{bin}/exiftool"
|
2012-01-06 15:41:02 +00:00
|
|
|
end
|
2010-02-11 16:51:52 +00:00
|
|
|
end
|