homebrew-core/Formula/gphoto2.rb
2015-01-04 00:27:33 -08:00

24 lines
718 B
Ruby

class Gphoto2 < Formula
homepage "http://gphoto.org/"
url "https://downloads.sourceforge.net/project/gphoto/gphoto/2.5.6/gphoto2-2.5.6.tar.bz2"
sha1 "5094fd8b0f3b473a5fc3e869166c2f552132bbb2"
bottle do
cellar :any
sha1 "49afbd5764c72ab04513f1db5556f6d44f94cb3d" => :yosemite
sha1 "ffa581599c7e9097052de4e5c974c965d41e8435" => :mavericks
sha1 "a898338454285c9ab1d01f4b55e464701a403faf" => :mountain_lion
end
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