homebrew-core/Formula/iphotoexport.rb

18 lines
610 B
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
class Iphotoexport < Formula
desc "Export and synchronize iPhoto library to a folder tree"
homepage "https://code.google.com/p/iphotoexport/"
url "https://iphotoexport.googlecode.com/files/iphotoexport-1.6.4.zip"
sha256 "85644b5be1541580a35f1ea6144d832267f1284ac3ca23fe9bcd9eda5aaea5d3"
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}/*"]
bin.install_symlink prefix+"iphotoexport.py" => "iphotoexport"
end
end