shadowsocks-libev 1.5.1

Shadowsocks-libev's source already contains libev.

Closes Homebrew/homebrew#34038.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Zhang Yi 2014-11-09 14:19:30 +08:00 committed by Mike McQuaid
parent 145fd1a330
commit 91846d3e8c

View file

@ -2,8 +2,8 @@ require "formula"
class ShadowsocksLibev < Formula
homepage "https://github.com/madeye/shadowsocks-libev"
url "https://github.com/madeye/shadowsocks-libev/archive/v1.4.8.tar.gz"
sha1 "8261d91dc7184d2edafb9f1f57f70f97fe7d0f2f"
url "https://github.com/madeye/shadowsocks-libev/archive/v1.5.1.tar.gz"
sha1 "eb36d2a125431597dfe3073b0a7c75ee921810ed"
bottle do
sha1 "8b47e5c7d2a1398e8bb6069f5c33bb6a2595574a" => :yosemite
@ -15,7 +15,6 @@ class ShadowsocksLibev < Formula
option "with-polarssl", "Use PolarSSL instead of OpenSSL"
depends_on "libev"
depends_on "polarssl" => :optional
depends_on "openssl" if build.without? "polarssl"
@ -30,7 +29,9 @@ class ShadowsocksLibev < Formula
end
system "./configure", *args
system "make", "install"
system "make"
bin.install "src/ss-local"
(buildpath/"shadowsocks-libev.json").write <<-EOS.undent
{