Skip to content

Commit

Permalink
rofs-filtered-mac: update 1.7 bottle.
Browse files Browse the repository at this point in the history
  • Loading branch information
gromgit committed May 4, 2021
1 parent af534ae commit c120f38
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Formula/rofs-filtered-mac.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
require_relative "../require/macfuse"

class RofsFilteredMac < Formula
desc "Filtered read-only filesystem for FUSE"
homepage "https://github.com/gburca/rofs-filtered/"
url "https://github.com/gburca/rofs-filtered/archive/rel-1.7.tar.gz"
sha256 "d66066dfd0274a2fb7b71dd929445377dd23100b9fa43e3888dbe3fc7e8228e8"
license "GPL-2.0-or-later"

bottle do
root_url "https://github.com/gromgit/homebrew-fuse/releases/download/rofs-filtered-mac-1.7"
sha256 cellar: :any, big_sur: "cb7cbae756a0415b639c86a4d7998fd95bc66cde8be46f6cac08d8a158595f55"
end

depends_on "cmake" => :build
depends_on MacfuseRequirement
depends_on :macos

def install
mkdir "build" do
system "cmake", "..", "-DCMAKE_INSTALL_SYSCONFDIR=#{etc}", *std_cmake_args
system "make", "install"
end
end

test do
system "#{bin}/rofs-filtered", "--version"
end
end

0 comments on commit c120f38

Please sign in to comment.