#!/bin/bash
#

sudo apt-get install --no-install-recommends build-essential autoconf libtool \
        libssl-dev gawk debhelper dh-systemd init-system-helpers pkg-config asciidoc \
        xmlto apg libpcre3-dev zlib1g-dev libev-dev libudns-dev libsodium-dev libmbedtls-dev libc-ares-dev automake -y



sudo git clone https://github.com/shadowsocks/shadowsocks-libev.git


cd shadowsocks-libev/

git submodule update --init
./autogen.sh && ./configure && make && make install