homebrew-core/Formula/gphoto2.rb

20 lines
502 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Gphoto2 < Formula
homepage 'http://gphoto.org/'
2012-06-27 18:47:44 +00:00
url 'http://downloads.sourceforge.net/project/gphoto/gphoto/2.4.14/gphoto2-2.4.14.tar.bz2'
sha1 'e15d9795f10a18c1e8e2ddbd3a99d982b141a625'
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