mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-06 07:50:35 +00:00
Add ifuse (#8)
* Add ifuse * ifuse: fix license Co-authored-by: Adrian Ho <the.gromgit@gmail.com>
This commit is contained in:
parent
814aa6e1c2
commit
21466ba709
1 changed files with 32 additions and 0 deletions
32
Formula/ifuse-mac.rb
Normal file
32
Formula/ifuse-mac.rb
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
require_relative "../require/macfuse"
|
||||
|
||||
class IfuseMac < Formula
|
||||
desc "FUSE module for iOS devices"
|
||||
homepage "https://www.libimobiledevice.org/"
|
||||
url "https://github.com/libimobiledevice/ifuse/archive/1.1.4.tar.gz"
|
||||
sha256 "2a00769e8f1d8bad50898b9d00baf12c8ae1cda2d19ff49eaa9bf580e5dbe78c"
|
||||
license "LGPL-2.1-or-later"
|
||||
head "https://cgit.sukimashita.com/ifuse.git"
|
||||
|
||||
depends_on "autoconf" => :build
|
||||
depends_on "automake" => :build
|
||||
depends_on "libtool" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "glib"
|
||||
depends_on "libimobiledevice"
|
||||
depends_on "libplist"
|
||||
depends_on MacfuseRequirement
|
||||
depends_on :macos
|
||||
|
||||
def install
|
||||
system "./autogen.sh"
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
# Actual test of functionality requires osxfuse, so test for expected failure instead
|
||||
assert_match "ERROR: No device found!", shell_output("#{bin}/ifuse --list-apps", 1)
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue