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