42e448e8b5
Closes Homebrew/homebrew#18535. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
19 lines
500 B
Ruby
19 lines
500 B
Ruby
require 'formula'
|
|
|
|
class Gphoto2 < Formula
|
|
homepage 'http://gphoto.org/'
|
|
url 'http://downloads.sourceforge.net/project/gphoto/gphoto/2.5.1/gphoto2-2.5.1.tar.bz2'
|
|
sha1 'c363adfb5d0f21c03bc5dc27daf19e9e409832ec'
|
|
|
|
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
|