aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMichel Rasschaert2010-04-30 23:09:26 +0200
committerAdam Vandenberg2010-06-02 07:25:14 -0700
commit98a31f84d46c4d2bd4c9d4982a1efadac0a1c398 (patch)
tree3a09fcd4fd8af2b8e248e7269c357784d7b6b10e /Library/Formula
parent13e4c3962478011fae350253a89eaeabf53fbe2d (diff)
downloadhomebrew-98a31f84d46c4d2bd4c9d4982a1efadac0a1c398.tar.bz2
New formula : iphotoexport
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Updated to 1.6.4
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/iphotoexport.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/iphotoexport.rb b/Library/Formula/iphotoexport.rb
new file mode 100644
index 000000000..00d9923ee
--- /dev/null
+++ b/Library/Formula/iphotoexport.rb
@@ -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