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/'
url 'https://downloads.sourceforge.net/project/libmtp/libmtp/1.1.6/libmtp-1.1.6.tar.gz'
sha1 'f9e55c75399fc5f4deabcdfa58e1b01b2e6e3283'
2014-07-03 19:34:35 +00:00
bottle do
cellar :any
sha1 "7702b0ce097a9a6a100d0b32f3df153d52ff28fb" => :mavericks
sha1 "8ceb62bf1932a223bfc3601309f37886d81c6b1f" => :mountain_lion
sha1 "6c629f67821477825bfd8f17ecbc1745a308b08e" => :lion
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