homebrew-core/Formula/libmtp.rb

25 lines
725 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Libmtp < Formula
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"
2014-07-03 19:34:35 +00:00
bottle do
cellar :any
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
depends_on "libusb-compat"
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-mtpz"
system "make install"
end
end