gtk-gnutella 1.1.11
Closes #6831. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
8a463041ce
commit
3eab7d0c00
1 changed files with 7 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
class GtkGnutella < Formula
|
class GtkGnutella < Formula
|
||||||
desc "Share files in a peer-to-peer (P2P) network"
|
desc "Share files in a peer-to-peer (P2P) network"
|
||||||
homepage "http://gtk-gnutella.sourceforge.net/en/?page=news"
|
homepage "http://gtk-gnutella.sourceforge.net/en/?page=news"
|
||||||
url "https://downloads.sourceforge.net/project/gtk-gnutella/gtk-gnutella/1.1.10/gtk-gnutella-1.1.10.tar.bz2"
|
url "https://downloads.sourceforge.net/project/gtk-gnutella/gtk-gnutella/1.1.11/gtk-gnutella-1.1.11.tar.bz2"
|
||||||
sha256 "95e2a030124e7cc05e19e351eebc16f40f4520381b7bb306e8b940ed4e2e6409"
|
sha256 "e46ffa3905831828f867709aa346cd88576075bd1299ef396962ad860e2589d5"
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
sha256 "0659488d3cf0641f50f490d4f44c139bf5cd1b0fb69bedc2ab760b6ef41a58d4" => :sierra
|
sha256 "0659488d3cf0641f50f490d4f44c139bf5cd1b0fb69bedc2ab760b6ef41a58d4" => :sierra
|
||||||
|
@ -17,6 +17,11 @@ class GtkGnutella < Formula
|
||||||
def install
|
def install
|
||||||
ENV.deparallelize
|
ENV.deparallelize
|
||||||
|
|
||||||
|
if MacOS.version == :el_capitan && MacOS::Xcode.installed? && MacOS::Xcode.version >= "8.0"
|
||||||
|
inreplace "Configure", "ret = clock_gettime(CLOCK_REALTIME, &tp);",
|
||||||
|
"ret = undefinedgibberish(CLOCK_REALTIME, &tp);"
|
||||||
|
end
|
||||||
|
|
||||||
system "./build.sh", "--prefix=#{prefix}", "--disable-nls"
|
system "./build.sh", "--prefix=#{prefix}", "--disable-nls"
|
||||||
system "make", "install"
|
system "make", "install"
|
||||||
rm_rf share/"pixmaps"
|
rm_rf share/"pixmaps"
|
||||||
|
|
Loading…
Reference in a new issue