gnunet.rb 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. class Gnunet < Formula
  2. desc "Framework for distributed, secure and privacy-preserving applications"
  3. homepage "https://gnunet.org/"
  4. url "https://ftp.gnu.org/gnu/gnunet/gnunet-0.11.5.tar.gz"
  5. sha256 "98e0355ff0627bf88112b3b92a7522e98c0ae6071fc45efda5a33daed28199b3"
  6. bottle do
  7. cellar :any
  8. sha256 "3c2971584ed0a709b5c59c3f844e5966049b90461043af93ba10e167c134a284" => :mojave
  9. sha256 "81e3f400e41674f919a2656217bd4e1ce825505d9e3939acdc0b3efcfa8949d4" => :high_sierra
  10. sha256 "0d5a57bacf57f3a78b2a96e1c0b9d22db5385255211b5bd9b8334ffe57925136" => :sierra
  11. end
  12. depends_on "pkg-config" => :build
  13. depends_on "gettext"
  14. depends_on "gnutls"
  15. depends_on "jansson"
  16. depends_on "libextractor"
  17. depends_on "libgcrypt"
  18. depends_on "libidn2"
  19. depends_on "libmicrohttpd"
  20. depends_on "libmpc"
  21. depends_on "libunistring"
  22. depends_on "unbound"
  23. def install
  24. system "./configure", "--prefix=#{prefix}"
  25. system "make", "install"
  26. end
  27. test do
  28. output = shell_output("#{bin}/gnunet-config -s arm")
  29. assert_match "BINARY = gnunet-service-arm", output
  30. end
  31. end