2011-03-10 05:11:03 +00:00
|
|
|
class Iphotoexport < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Export and synchronize iPhoto library to a folder tree"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "https://code.google.com/p/iphotoexport/"
|
|
|
|
url "https://iphotoexport.googlecode.com/files/iphotoexport-1.6.4.zip"
|
|
|
|
sha256 "85644b5be1541580a35f1ea6144d832267f1284ac3ca23fe9bcd9eda5aaea5d3"
|
2010-04-30 21:09:26 +00:00
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
depends_on "exiftool"
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2010-04-30 21:09:26 +00:00
|
|
|
def install
|
2013-03-25 02:15:46 +00:00
|
|
|
unzip_dir = "#{name}-#{version}"
|
2010-04-30 21:09:26 +00:00
|
|
|
# Change hardcoded exiftool path
|
|
|
|
inreplace "#{unzip_dir}/tilutil/exiftool.py", "/usr/bin/exiftool", "exiftool"
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2013-03-25 02:15:46 +00:00
|
|
|
prefix.install Dir["#{unzip_dir}/*"]
|
2015-08-03 12:55:31 +00:00
|
|
|
bin.install_symlink prefix+"iphotoexport.py" => "iphotoexport"
|
2010-04-30 21:09:26 +00:00
|
|
|
end
|
|
|
|
end
|