diff options
author | ng0 <ng0@n0.is> | 2019-11-22 19:19:47 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-11-22 19:19:47 +0000 |
commit | 37a0cf99fa06289b3ffd25a685f839ccf558bab1 (patch) | |
tree | 132f1167cabfff1d3cecb476d4e34be9572dfa59 /contrib/gnunet.rb | |
parent | 71420fa7be33130ab4896d6a492248f5612d02c1 (diff) | |
download | gnunet-37a0cf99fa06289b3ffd25a685f839ccf558bab1.tar.gz gnunet-37a0cf99fa06289b3ffd25a685f839ccf558bab1.zip |
move homebrew.
Diffstat (limited to 'contrib/gnunet.rb')
-rw-r--r-- | contrib/gnunet.rb | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/contrib/gnunet.rb b/contrib/gnunet.rb deleted file mode 100644 index 0c6beab8b..000000000 --- a/contrib/gnunet.rb +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
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 | |||
7 | bottle do | ||
8 | cellar :any | ||
9 | sha256 "3c2971584ed0a709b5c59c3f844e5966049b90461043af93ba10e167c134a284" => :mojave | ||
10 | sha256 "81e3f400e41674f919a2656217bd4e1ce825505d9e3939acdc0b3efcfa8949d4" => :high_sierra | ||
11 | sha256 "0d5a57bacf57f3a78b2a96e1c0b9d22db5385255211b5bd9b8334ffe57925136" => :sierra | ||
12 | end | ||
13 | |||
14 | depends_on "pkg-config" => :build | ||
15 | depends_on "gettext" | ||
16 | depends_on "gnutls" | ||
17 | depends_on "jansson" | ||
18 | depends_on "libextractor" | ||
19 | depends_on "libgcrypt" | ||
20 | depends_on "libidn2" | ||
21 | depends_on "libmicrohttpd" | ||
22 | depends_on "libmpc" | ||
23 | depends_on "libunistring" | ||
24 | depends_on "unbound" | ||
25 | |||
26 | def install | ||
27 | system "./configure", "--prefix=#{prefix}" | ||
28 | system "make", "install" | ||
29 | end | ||
30 | |||
31 | test do | ||
32 | output = shell_output("#{bin}/gnunet-config -s arm") | ||
33 | assert_match "BINARY = gnunet-service-arm", output | ||
34 | end | ||
35 | end | ||