31 lines
1.3 KiB
Ruby
31 lines
1.3 KiB
Ruby
class Libgfshare < Formula
|
|
desc "Library for sharing secrets"
|
|
homepage "https://www.digital-scurf.org/software/libgfshare"
|
|
url "https://www.digital-scurf.org/files/libgfshare/libgfshare-2.0.0.tar.bz2"
|
|
sha256 "86f602860133c828356b7cf7b8c319ba9b27adf70a624fe32275ba1ed268331f"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "23c584fb3f3edcb9516beacb9cc3448c6bd2352ce44063e609d7a3e9aaeadd34" => :mojave
|
|
sha256 "0079ff7fef137a59579eb12e9f15087573ad2c19c8d7a4d53e2a7d8d378e6af1" => :high_sierra
|
|
sha256 "ed8e772e5d4b6c8471aa4d711bd2178b873cce23028bcd3831a51aca67c3485e" => :sierra
|
|
sha256 "c50ebaadca206eef93bc6d835f5814e0d640223c2c7e39cd12feff47720c054d" => :el_capitan
|
|
sha256 "6929a937f6f8ee624f02891622375d23aa65114475cf53ce82342976b4705454" => :yosemite
|
|
sha256 "1696482fdd83b98b999d4b4037ae6c02d06a4b5297d089c826fed92a367d0d5c" => :mavericks
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--disable-silent-rules",
|
|
"--disable-linker-optimisations",
|
|
"--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
touch "test.in"
|
|
system "#{bin}/gfsplit", "test.in"
|
|
system "#{bin}/gfcombine test.in.*"
|
|
end
|
|
end
|