gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: add 0.11 formula for homebr


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: add 0.11 formula for homebrew
Date: Thu, 28 Feb 2019 13:50:58 +0100

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 731c6132c add 0.11 formula for homebrew
731c6132c is described below

commit 731c6132c4e4b2419d77d3770a654cada81e8cf2
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Thu Feb 28 13:50:56 2019 +0100

    add 0.11 formula for homebrew
---
 contrib/gnunet.rb | 25 +++++++------------------
 1 file changed, 7 insertions(+), 18 deletions(-)

diff --git a/contrib/gnunet.rb b/contrib/gnunet.rb
index 94625e6b8..bc6afd6a6 100644
--- a/contrib/gnunet.rb
+++ b/contrib/gnunet.rb
@@ -1,29 +1,15 @@
 class Gnunet < Formula
   desc "GNUnet"
   homepage "https://gnunet.org/";
-  #url "http://ftpmirror.gnu.org/gnunet/gnunet-0.11.0pre66.tar.gz";
-  head do
-    url "https://gnunet.org/git/gnunet.git";
-    depends_on "automake"
-  end
-  mirror "http://ftpmirror.gnu.org/gnunet/gnunet-0.11.0pre66.tar.gz";
-  sha256 "07ed1e456c0cc982fe4c6d335eb2fd41820eb24dcf1c9abc93dad868aa72edbf"
-
-  #bottle do
-  #  cellar :any
-  #  sha256 "7507da89370f72be8fb22d1932524295231904a2a180ff0bfc4a14d3bd496e31" 
=> :mojave
-  #  sha256 "3bdf1fbe152231ba3a9cd19445c242cfb14140fa942a1df03af5c69754e09225" 
=> :high_sierra
-  #  sha256 "6dec32c6b29e69d051edd1220bc040cb01911cd20220687dd09bf6e76317b42a" 
=> :sierra
-  #end
+  url "https://ftp.gnu.org/gnu/gnunet/gnunet-0.11.0.tar.gz";
+  sha256 "b7477a3c3b0d5e8a013685dc208cfb4ccee4145f8668faa8eb5b382af36c7e9a"
 
   depends_on "pkg-config" => :build
-  depends_on "glpk"
   depends_on "gettext"
   depends_on "gnutls"
   depends_on "jansson"
   depends_on "libextractor"
   depends_on "libgcrypt"
-  depends_on "libffi"
   depends_on "libidn2"
   depends_on "libmicrohttpd"
   depends_on "libmpc"
@@ -36,12 +22,15 @@ class Gnunet < Formula
       --prefix=#{prefix}
     ]
 
-    system "./bootstrap" if build.head?
     system "./configure", *args
     system "make", "install"
   end
 
+  def post_install
+    chmod "+x", prefix/"bin/gnunet-qr.py"
+  end
+
   test do
-    system bin/"gnutls-arm", "--version"
+    system bin/"gnunet-config", "-s", "arm"
   end
 end

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]