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-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/libmtp/libmtp/1.1.6/libmtp-1.1.6.tar.gz'
|
2013-05-17 07:20:45 +00:00
|
|
|
sha1 'f9e55c75399fc5f4deabcdfa58e1b01b2e6e3283'
|
2010-09-01 16:48:57 +00:00
|
|
|
|
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
|
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
|