pkg:setup args = %W[--disable-dependency-tracking --disable-silent-rules --prefix=#{prefix} --libdir=#{lib} --sysconfdir=#{etc}/clamav --disable-zlib-vcheck --enable-llvm=no --with-libjson=#{Formula["json-c"].opt_prefix} --with-openssl=#{Formula["openssl"].opt_prefix} --with-pcre=#{Formula["pcre"].opt_prefix} --with-zlib=#{MacOS.sdk_path_if_needed}/usr ] pkgshare.mkpath pkg:configure *args make DESTDIR=${PKG_DEST} install