simple-mtpfs 0.2 (new formula)

Add a new formula for simple-mtpfs, a FUSE filesystem for mounting MTP
devices such as smartphones.

Closes Homebrew/homebrew#40092.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
This commit is contained in:
Quim Llimona 2015-05-26 13:12:58 +02:00 committed by Baptiste Fontaine
parent 0cd5d01faf
commit 85f9a8816c

28
Formula/simple-mtpfs.rb Normal file
View file

@ -0,0 +1,28 @@
class SimpleMtpfs < Formula
desc "Simple MTP fuse filesystem driver"
homepage "https://github.com/phatina/simple-mtpfs"
url "https://github.com/phatina/simple-mtpfs/archive/simple-mtpfs-0.2.tar.gz"
sha256 "3ce41fb194971041aa6ad15292a6cdad70eb8b5fc3e7a03a638bc3cac0c515ea"
depends_on "pkg-config" => :build
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on :osxfuse
depends_on "libmtp"
needs :cxx11
def install
ENV.cxx11
system "./autogen.sh"
system "./configure",
"--prefix=#{prefix}",
"CPPFLAGS=-I/usr/local/include/osxfuse",
"LDFLAGS=-L/usr/local/include/osxfuse"
system "make"
system "make", "install"
end
test do
system bin/"simple-mtpfs", "-h"
end
end