homebrew-core/Formula/iphotoexport.rb

19 lines
538 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Iphotoexport < Formula
homepage 'http://code.google.com/p/iphotoexport/'
url 'https://iphotoexport.googlecode.com/files/iphotoexport-1.6.4.zip'
sha1 '50fa0916cf9689efdfd33cd4680424234b4e9023'
depends_on 'exiftool'
def install
2013-03-25 02:15:46 +00:00
unzip_dir = "#{name}-#{version}"
# Change hardcoded exiftool path
inreplace "#{unzip_dir}/tilutil/exiftool.py", "/usr/bin/exiftool", "exiftool"
2013-03-25 02:15:46 +00:00
prefix.install Dir["#{unzip_dir}/*"]
2012-02-12 22:17:47 +00:00
bin.install_symlink prefix+'iphotoexport.py' => 'iphotoexport'
end
end