2010-04-26 16:34:55 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Gphoto2 < Formula
|
2010-04-26 16:34:55 +00:00
|
|
|
homepage 'http://gphoto.org/'
|
2012-10-21 15:03:41 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/gphoto/gphoto/2.5.0/gphoto2-2.5.0.tar.bz2'
|
|
|
|
sha1 '4db56811b09e6496fb056f90effa4d7240b8e5dc'
|
2010-04-26 16:34:55 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-04-26 16:34:55 +00:00
|
|
|
depends_on 'jpeg'
|
|
|
|
depends_on 'libgphoto2'
|
|
|
|
depends_on 'popt'
|
2012-11-11 03:12:26 +00:00
|
|
|
depends_on 'readline'
|
2010-04-26 16:34:55 +00:00
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2012-06-27 18:47:44 +00:00
|
|
|
"--prefix=#{prefix}"
|
2010-04-26 16:34:55 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|