New formula : iphotoexport

Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Updated to 1.6.4
master
Michel Rasschaert 2010-04-30 23:09:26 +02:00 committed by Adam Vandenberg
parent 539331357e
commit 776da65d2a
1 changed files with 19 additions and 0 deletions

19
Formula/iphotoexport.rb Normal file
View File

@ -0,0 +1,19 @@
require 'formula'
class Iphotoexport <Formula
url 'http://iphotoexport.googlecode.com/files/iphotoexport-1.6.4.zip'
homepage 'http://code.google.com/p/iphotoexport/'
sha1 '50fa0916cf9689efdfd33cd4680424234b4e9023'
depends_on 'exiftool'
def install
unzip_dir = @name+'-'+@version
# Change hardcoded exiftool path
inreplace "#{unzip_dir}/tilutil/exiftool.py", "/usr/bin/exiftool", "exiftool"
prefix.install Dir[unzip_dir+'/*']
bin.mkpath
ln_s prefix+'iphotoexport.py', bin+'iphotoexport'
end
end