2010-02-15 22:01:29 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Exiv2 < Formula
|
2010-02-15 22:01:29 +00:00
|
|
|
homepage 'http://www.exiv2.org'
|
2012-08-05 03:27:14 +00:00
|
|
|
url 'http://www.exiv2.org/exiv2-0.23.tar.gz'
|
|
|
|
sha1 '5f342bf642477526f41add11d6ee7787cdcd639f'
|
2010-02-15 22:01:29 +00:00
|
|
|
|
2013-03-25 05:56:14 +00:00
|
|
|
option :universal
|
|
|
|
|
2010-02-15 22:01:29 +00:00
|
|
|
def install
|
2013-03-25 05:56:14 +00:00
|
|
|
ENV.universal_binary if build.universal?
|
2010-05-30 18:04:34 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
|
2010-02-15 22:01:29 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|