2010-04-26 16:34:55 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Gphoto2 <Formula
|
2010-09-18 20:28:35 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/gphoto/gphoto/2.4.10/gphoto2-2.4.10.tar.bz2'
|
2010-04-26 16:34:55 +00:00
|
|
|
homepage 'http://gphoto.org/'
|
2010-09-18 20:28:35 +00:00
|
|
|
md5 '3c86c9824b9bfc57a52be5f84ad205f7'
|
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'
|
2010-09-18 20:28:35 +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",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--without-aalib"
|
2010-04-26 16:34:55 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|