homebrew-core/Formula/exiftool.rb

28 lines
906 B
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
class Exiftool < Formula
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"
url "http://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-10.11.tar.gz"
sha256 "8cf8b2ec192fdbec5e1946bcf1ed9c7c681e6d16896298bbf7adb8eb59356729"
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
end
def install
# replace the hard-coded path to the lib directory
inreplace "exiftool", "$exeDir/lib", "#{libexec}/lib"
system "perl", "Makefile.PL"
libexec.install "lib"
bin.install "exiftool"
end
2012-01-06 15:41:02 +00:00
test do
system "#{bin}/exiftool"
2012-01-06 15:41:02 +00:00
end
end