7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
19 lines
534 B
Ruby
19 lines
534 B
Ruby
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
|