Skip to content

Commit

Permalink
libnfs 6.0.0
Browse files Browse the repository at this point in the history
libnfs: add dependency

libnfs: add build patch
  • Loading branch information
bevanjkay committed Dec 11, 2024
1 parent a88aa84 commit 65112f5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Formula/lib/libnfs.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Libnfs < Formula
desc "C client library for NFS"
homepage "https://github.com/sahlberg/libnfs"
url "https://github.com/sahlberg/libnfs/archive/refs/tags/libnfs-5.0.3.tar.gz"
sha256 "d945cb4f4c8f82ee1f3640893a168810f794a28e1010bb007ec5add345e9df3e"
url "https://github.com/sahlberg/libnfs/archive/refs/tags/libnfs-6.0.0.tar.gz"
sha256 "6fe64b5a47b2558484c8beb05819c1f1f3e52cc52a7b3a8b805faf398e9a9c24"
license "LGPL-2.1-or-later"

bottle do
Expand All @@ -19,6 +19,14 @@ class Libnfs < Formula
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
uses_from_macos "krb5"

# Ref: https://github.com/sahlberg/libnfs/commit/2044497b7faba9404a3a17e81cbfdeb5e8aaaa9c
# Remove on next release
patch do
url "https://github.com/sahlberg/libnfs/commit/2044497b7faba9404a3a17e81cbfdeb5e8aaaa9c.patch?full_index=1"
sha256 "b31e61faa640ea1c5b590bc884c57fef2d6c40e9ee94596353648d057026bc1b"
end

def install
system "./bootstrap"
Expand Down

0 comments on commit 65112f5

Please sign in to comment.