shadowsocks-libev 3.2.4

Closes #37346.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
lcdtyph 2019-02-26 13:30:40 +08:00 committed by FX Coudert
parent 1fd77c8f4a
commit 423de6f4c8

View file

@ -1,8 +1,8 @@
class ShadowsocksLibev < Formula
desc "Libev port of shadowsocks"
homepage "https://github.com/shadowsocks/shadowsocks-libev"
url "https://github.com/shadowsocks/shadowsocks-libev/releases/download/v3.2.3/shadowsocks-libev-3.2.3.tar.gz"
sha256 "2befc27b1cc62af0450702343d17e347936f0d4e3d4b04ba9246c4f9b409b742"
url "https://github.com/shadowsocks/shadowsocks-libev/releases/download/v3.2.4/shadowsocks-libev-3.2.4.tar.gz"
sha256 "65a67c355df1794dc0ef94d80d2d596fd590b13fdcd0a21bda28859c88924ce5"
bottle do
cellar :any
@ -11,6 +11,14 @@ class ShadowsocksLibev < Formula
sha256 "3f2d9fb7edba0b4f7e6dca0be8ba628ceea45726e76e63e3494708892622187b" => :sierra
end
head do
url "https://github.com/shadowsocks/shadowsocks-libev.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
end
depends_on "asciidoc" => :build
depends_on "xmlto" => :build
depends_on "c-ares"
@ -21,6 +29,7 @@ class ShadowsocksLibev < Formula
def install
ENV["XML_CATALOG_FILES"] = etc/"xml/catalog"
system "./autogen.sh" if build.head?
system "./configure", "--prefix=#{prefix}"
system "make"