2019-02-28 12:39:02 +00:00
|
|
|
class Gnunet < Formula
|
|
|
|
desc "Framework for distributed, secure and privacy-preserving applications"
|
|
|
|
homepage "https://gnunet.org/"
|
2019-04-08 08:32:51 +00:00
|
|
|
url "https://ftp.gnu.org/gnu/gnunet/gnunet-0.11.3.tar.gz"
|
|
|
|
sha256 "2405db9232ae6ded57e7ff513abdf810c65e3861823b3985717ce990b8d87a37"
|
2019-02-28 12:39:02 +00:00
|
|
|
|
2019-03-03 14:23:13 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2019-04-09 10:10:48 +00:00
|
|
|
sha256 "8a28d2c64bf814bcd629b66715b553bee3031c05f98075dd0f1bc79acb4fe840" => :mojave
|
|
|
|
sha256 "9fc7995800f8c74266313e9ccc274b625debc4033221dae729936821400a4c87" => :high_sierra
|
|
|
|
sha256 "c75feb5d2bfcb379c0025645d0d8ab7c2e5fce938901ec53c841bbeafbf684c1" => :sierra
|
2019-03-03 14:23:13 +00:00
|
|
|
end
|
|
|
|
|
2019-02-28 12:39:02 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "gettext"
|
|
|
|
depends_on "gnutls"
|
|
|
|
depends_on "jansson"
|
|
|
|
depends_on "libextractor"
|
|
|
|
depends_on "libgcrypt"
|
|
|
|
depends_on "libidn2"
|
|
|
|
depends_on "libmicrohttpd"
|
|
|
|
depends_on "libmpc"
|
|
|
|
depends_on "libunistring"
|
|
|
|
depends_on "unbound"
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
output = shell_output("#{bin}/gnunet-config -s arm")
|
|
|
|
assert_match "BINARY = gnunet-service-arm", output
|
|
|
|
end
|
|
|
|
end
|