homebrew-core/Formula/libmtp.rb
David Höppner a8fc8f40ea New formula libmtp
libmtp is an implementation of Microsoft's Media Transfer Protocol
(MTP) in the form of a library suitable primarily for POSIX compliant
operating systems. We implement MTP Basic, the stuff proposed for
standardization.
2010-09-01 18:48:57 +02:00

15 lines
421 B
Ruby

require 'formula'
class Libmtp <Formula
url 'http://downloads.sourceforge.net/project/libmtp/libmtp/1.0.1/libmtp-1.0.1.tar.gz'
homepage 'http://libmtp.sourceforge.net/'
md5 'd540a0ef033483bd10b7f83f7a84e4a7'
depends_on "libusb-compat"
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end