forked from Homebrew/homebrew-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathavfs.rb
37 lines (32 loc) · 1.08 KB
/
avfs.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
class Avfs < Formula
desc "Virtual file system that facilitates looking inside archives"
homepage "https://avf.sourceforge.io/"
url "https://downloads.sourceforge.net/project/avf/avfs/1.1.1/avfs-1.1.1.tar.bz2"
sha256 "c83eef7f8676db6fed0a18373c433e0ff55af1651246303ebe1181e8ef8bbf3b"
bottle do
sha256 "80e240dd2ddab63987b7da1e3a641f5736838e5c648db37e349358aa28bff1c0" => :mojave
sha256 "4870df9b74a69515a4c3f0d601d6a709c487b985b797780b4cfdf849e899a6af" => :high_sierra
sha256 "f65036ef7e2db4bfea6c0bc742ea7693fe62eb1afa2c11d3e66297cf932ede91" => :sierra
end
depends_on "pkg-config" => :build
depends_on :macos => :sierra # needs clock_gettime
depends_on "openssl"
depends_on :osxfuse
depends_on "xz"
def install
args = %W[
--prefix=#{prefix}
--disable-debug
--disable-dependency-tracking
--disable-silent-rules
--enable-fuse
--enable-library
--with-ssl=#{Formula["openssl"].opt_prefix}
]
system "./configure", *args
system "make", "install"
end
test do
system bin/"avfsd", "--version"
end
end