diff options
Diffstat (limited to 'homebrew/shadowsockslibev/.make.sh-auto')
-rw-r--r-- | homebrew/shadowsockslibev/.make.sh-auto | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/homebrew/shadowsockslibev/.make.sh-auto b/homebrew/shadowsockslibev/.make.sh-auto new file mode 100644 index 000000000..0ab514ef9 --- /dev/null +++ b/homebrew/shadowsockslibev/.make.sh-auto @@ -0,0 +1,12 @@ +pkg:setup +ENV["XML_CATALOG_FILES"] = etc/"xml/catalog" +pkg:configure +make +(buildpath/"shadowsocks-libev.json").write <<~EOS +{ +"server":"localhost", "server_port":8388, "local_port":1080, "password":"barfoo!", "timeout":600, "method":null +} +EOS +etc.install "shadowsocks-libev.json" +inreplace Dir["man/*"], "/etc/shadowsocks-libev/config.json", "#{etc}/shadowsocks-libev.json" +make DESTDIR=${PKG_DEST} install |