2010-04-26 16:34:55 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libgphoto2 < Formula
|
2011-03-16 04:41:40 +00:00
|
|
|
homepage 'http://www.gphoto.org/proj/libgphoto2/'
|
2012-10-21 15:03:41 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/gphoto/libgphoto/2.5.0/libgphoto2-2.5.0.tar.bz2'
|
|
|
|
sha1 'b8383933525b71308b3b24ba43c88a4c5d999cf8'
|
2010-04-26 16:34:55 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2012-08-25 15:29:12 +00:00
|
|
|
depends_on :libtool # Configure script uses this
|
2010-04-26 16:34:55 +00:00
|
|
|
depends_on 'libusb-compat'
|
|
|
|
depends_on 'libexif' => :optional
|
|
|
|
|
|
|
|
def install
|
2012-06-27 18:44:57 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2010-04-26 16:34:55 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|