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>
This commit is contained in:
nibbles 2bits 2012-09-04 21:50:14 -07:00 committed by Jack Nagel
parent c9c30b4aef
commit 649dbccb8c

View file

@ -2,13 +2,14 @@ require 'formula'
class Libmtp < Formula
homepage 'http://libmtp.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/libmtp/libmtp/1.1.2/libmtp-1.1.2.tar.gz'
sha1 '239c07afcb1ebd02b865050d0a31f5ff36b012d5'
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-debug", "--disable-dependency-tracking",
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end