homebrew-core/Formula/gphoto2.rb

20 lines
500 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Gphoto2 < Formula
homepage 'http://gphoto.org/'
url 'http://downloads.sourceforge.net/project/gphoto/gphoto/2.5.0/gphoto2-2.5.0.tar.bz2'
sha1 '4db56811b09e6496fb056f90effa4d7240b8e5dc'
depends_on 'pkg-config' => :build
depends_on 'jpeg'
depends_on 'libgphoto2'
depends_on 'popt'
depends_on 'readline'
def install
system "./configure", "--disable-dependency-tracking",
2012-06-27 18:47:44 +00:00
"--prefix=#{prefix}"
system "make install"
end
end