simple-obfs 0.0.3

Closes #11402.

Signed-off-by: JCount <JCount42@gmail.com>
This commit is contained in:
ilovezfs 2017-03-21 09:01:32 -07:00 committed by JCount
parent 91a5f92322
commit bc3e0dfb6e

View file

@ -1,8 +1,9 @@
class SimpleObfs < Formula class SimpleObfs < Formula
desc "Simple obfusacting plugin of shadowsocks-libev." desc "Simple obfusacting plugin of shadowsocks-libev."
homepage "https://github.com/shadowsocks/simple-obfs" homepage "https://github.com/shadowsocks/simple-obfs"
url "https://github.com/shadowsocks/simple-obfs/archive/v0.0.2.tar.gz" url "https://github.com/shadowsocks/simple-obfs.git",
sha256 "cfd7b847be57401e1c664662781d41bc5b089b341232d94375ca4dd612b3852f" :tag => "v0.0.3",
:revision => "1f5dcace9ee50da6144824b9db9e89be889a9033"
bottle do bottle do
cellar :any_skip_relocation cellar :any_skip_relocation
@ -12,14 +13,20 @@ class SimpleObfs < Formula
end end
depends_on "asciidoc" => :build depends_on "asciidoc" => :build
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "xmlto" => :build depends_on "xmlto" => :build
depends_on "pcre" depends_on "libev"
depends_on "openssl" depends_on "libsodium"
depends_on "udns"
def install def install
ENV["XML_CATALOG_FILES"] = etc/"xml/catalog" ENV["XML_CATALOG_FILES"] = etc/"xml/catalog"
system "./autogen.sh"
system "./configure", "--prefix=#{prefix}" system "./configure", "--prefix=#{prefix}",
"--disable-dependency-tracking",
"--enable-applecc"
system "make" system "make"
system "make", "install" system "make", "install"
end end