2010-09-01 16:48:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libmtp < Formula
|
2010-09-01 16:48:57 +00:00
|
|
|
homepage 'http://libmtp.sourceforge.net/'
|
2014-09-03 16:42:01 +00:00
|
|
|
url "https://downloads.sourceforge.net/project/libmtp/libmtp/1.1.8/libmtp-1.1.8.tar.gz"
|
|
|
|
sha1 "6528da141b9f8a04fc97c0b01cf4f3a6142ff64f"
|
2010-09-01 16:48:57 +00:00
|
|
|
|
2014-07-03 19:34:35 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-09-03 17:06:37 +00:00
|
|
|
sha1 "e3194ce6f1692562c24ce59b4ba81079e1515817" => :mavericks
|
|
|
|
sha1 "7a8fd87ec676a4d38fb66e038d62c4313a73a71f" => :mountain_lion
|
|
|
|
sha1 "0bd337f0f7d78d65e90c1c385e6d795e847bed96" => :lion
|
2014-07-03 19:34:35 +00:00
|
|
|
end
|
|
|
|
|
2013-03-24 23:46:24 +00:00
|
|
|
depends_on "pkg-config" => :build
|
2010-09-01 16:48:57 +00:00
|
|
|
depends_on "libusb-compat"
|
|
|
|
|
|
|
|
def install
|
2012-09-05 04:50:14 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2014-05-20 05:00:20 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-mtpz"
|
2010-09-01 16:48:57 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|