homebrew-core/Formula/libgphoto2.rb

18 lines
506 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Libgphoto2 < Formula
2011-03-16 04:41:40 +00:00
homepage 'http://www.gphoto.org/proj/libgphoto2/'
2012-06-27 18:44:57 +00:00
url 'http://downloads.sourceforge.net/project/gphoto/libgphoto/2.4.14/libgphoto2-2.4.14.tar.bz2'
sha1 'c932f44d51e820245ff3394ee01a5e9df429dfef'
depends_on 'pkg-config' => :build
depends_on 'libusb-compat'
depends_on 'libexif' => :optional
def install
2012-06-27 18:44:57 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end