aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorTravis Cline2010-02-11 10:51:52 -0600
committerAdam Vandenberg2010-04-26 15:22:59 -0700
commit168e048d995017d096e95cc0549dbcf81ef64f4d (patch)
treeeb82918cd9b82340e47ce7ab1601add58ccd9e91 /Library/Formula
parent87e604d45189c98739f32d0d2372b6f377771a18 (diff)
downloadhomebrew-168e048d995017d096e95cc0549dbcf81ef64f4d.tar.bz2
New Formula: exiftool
ExifTool is a platform-independent Perl library plus a command-line application for reading, writing and editing meta information in image, audio and video files. Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Install into the Cellar
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/exiftool.rb19
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