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:
parent
0cd5d01faf
commit
85f9a8816c
1 changed files with 28 additions and 0 deletions
28
Formula/simple-mtpfs.rb
Normal file
28
Formula/simple-mtpfs.rb
Normal 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
|
Loading…
Reference in a new issue