osxfuse: migrate to cask.
This commit is contained in:
parent
435a88f366
commit
d30664101c
2 changed files with 1 additions and 52 deletions
|
@ -1,52 +0,0 @@
|
|||
class Osxfuse < Formula
|
||||
desc "FUSE for OS X: extend native file handling via 3rd-party file systems"
|
||||
homepage "https://osxfuse.github.io/"
|
||||
url "https://github.com/osxfuse/osxfuse.git",
|
||||
:tag => "osxfuse-2.8.3",
|
||||
:revision => "a6f0b470ae853366aa717ebdc65ec767784806a4"
|
||||
|
||||
head "https://github.com/osxfuse/osxfuse.git", :branch => "osxfuse-2"
|
||||
|
||||
bottle do
|
||||
sha256 "a3bfccad2a99b745cf2a23593148b8471867c6d868027cb638278ebccce31e3a" => :mavericks
|
||||
end
|
||||
|
||||
depends_on :macos => :snow_leopard
|
||||
depends_on :xcode => :build
|
||||
|
||||
# A fairly heinous hack to workaround our dependency resolution getting upset
|
||||
# See https://github.com/Homebrew/homebrew/issues/35073
|
||||
depends_on NonBinaryOsxfuseRequirement => :build
|
||||
depends_on UnsignedKextRequirement => [:cask => "osxfuse",
|
||||
:download => "https://sourceforge.net/projects/osxfuse/files/"]
|
||||
|
||||
depends_on "autoconf" => :build
|
||||
depends_on "automake" => :build
|
||||
depends_on "libtool" => :build
|
||||
depends_on "gettext" => :build
|
||||
|
||||
def install
|
||||
# Do not override Xcode build settings
|
||||
ENV.remove_cc_etc
|
||||
|
||||
system "./build.sh", "-t", "homebrew", "-f", prefix
|
||||
end
|
||||
|
||||
def caveats; <<-EOS.undent
|
||||
If upgrading from a previous version of osxfuse, the previous kernel extension
|
||||
will need to be unloaded before installing the new version. First, check that
|
||||
no FUSE-based file systems are running:
|
||||
|
||||
mount -t osxfusefs
|
||||
|
||||
Unmount all FUSE file systems and then unload the kernel extension:
|
||||
|
||||
sudo kextunload -b com.github.osxfuse.filesystems.osxfusefs
|
||||
|
||||
The new osxfuse file system bundle needs to be installed by the root user:
|
||||
|
||||
sudo /bin/cp -RfX #{opt_prefix}/Library/Filesystems/osxfusefs.fs /Library/Filesystems/
|
||||
sudo chmod +s /Library/Filesystems/osxfusefs.fs/Support/load_osxfusefs
|
||||
EOS
|
||||
end
|
||||
end
|
|
@ -175,6 +175,7 @@
|
|||
"openwsman": "homebrew/boneyard",
|
||||
"orfeo": "homebrew/boneyard",
|
||||
"ori": "homebrew/fuse",
|
||||
"osxfuse": "caskroom/cask",
|
||||
"p11-kit": "homebrew/boneyard",
|
||||
"pan": "homebrew/boneyard",
|
||||
"paq8px": "homebrew/boneyard",
|
||||
|
|
Loading…
Reference in a new issue