homebrew-core/Formula/gphoto2.rb
Luigi Pinca 6f7caf5972 gphoto2 2.5.3
Closes Homebrew/homebrew#25993.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-17 16:18:15 +00:00

19 lines
500 B
Ruby

require 'formula'
class Gphoto2 < Formula
homepage 'http://gphoto.org/'
url 'http://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