homebrew-core/Formula/libmtp.rb
nibbles 2bits 649dbccb8c libmtp 1.1.4
- Upgrade libmtp to version 1.1.4
- Add an optional dep on libgcrypt so it can build a special mode.

Closes Homebrew/homebrew#14717.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-05 09:31:57 -05:00

16 lines
447 B
Ruby

require 'formula'
class Libmtp < Formula
homepage 'http://libmtp.sourceforge.net/'
url 'http://sourceforge.net/projects/libmtp/files/libmtp/1.1.4/libmtp-1.1.4.tar.gz'
sha1 '07f6b64e4d3c4966fab8d6d507d90eb2e6dff538'
depends_on "libusb-compat"
depends_on "libgcrypt" => :optional
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end