b9d0db5d4a
Added libtool as a dependency for libgphoto2. When building libgphoto2's configure script reported that it could not link against libltdl which is included in libtool. Closes Homebrew/homebrew#14450. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
18 lines
557 B
Ruby
18 lines
557 B
Ruby
require 'formula'
|
|
|
|
class Libgphoto2 < Formula
|
|
homepage 'http://www.gphoto.org/proj/libgphoto2/'
|
|
url 'http://downloads.sourceforge.net/project/gphoto/libgphoto/2.4.14/libgphoto2-2.4.14.tar.bz2'
|
|
sha1 'c932f44d51e820245ff3394ee01a5e9df429dfef'
|
|
|
|
depends_on 'pkg-config' => :build
|
|
depends_on :libtool # Configure script uses this
|
|
depends_on 'libusb-compat'
|
|
depends_on 'libexif' => :optional
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|