homebrew-core/Formula/gphoto2.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

19 lines
501 B
Ruby

require 'formula'
class Gphoto2 < Formula
homepage 'http://gphoto.org/'
url 'https://downloads.sourceforge.net/project/gphoto/gphoto/2.5.3/gphoto2-2.5.3.tar.bz2'
sha1 '5e3c696d035097129fe4b47188083e9496e04c44'
depends_on 'pkg-config' => :build
depends_on 'jpeg'
depends_on 'libgphoto2'
depends_on 'popt'
depends_on 'readline'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end