diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/exiftool.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/exiftool.rb b/Library/Formula/exiftool.rb new file mode 100644 index 000000000..469b057c1 --- /dev/null +++ b/Library/Formula/exiftool.rb @@ -0,0 +1,19 @@ +require 'formula' + +class Exiftool <Formula + url 'http://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-8.18.tar.gz' + homepage 'http://www.sno.phy.queensu.ca/~phil/exiftool/index.html' + md5 '549607a165499db04bc69019119099f8' + + def install + system "perl", "Makefile.PL" + system "make", "test" + + # Install privately to the Cellar + libexec.install ["exiftool", "lib"] + + # Link the executable script into "bin" + bin.mkpath + ln_s libexec+"exiftool", bin + end +end |
