2016-12-21 15:30:49 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e -x
|
|
|
|
|
2019-05-18 15:27:09 +08:00
|
|
|
sudo apt update
|
|
|
|
sudo apt install -y autoconf automake libtool libevent-dev libcurl4-openssl-dev \
|
|
|
|
libgtk2.0-dev uuid-dev intltool libsqlite3-dev valac libjansson-dev cmake libssl-dev
|
2016-12-21 15:30:49 +08:00
|
|
|
|
2019-05-18 15:27:09 +08:00
|
|
|
git clone --depth=1 --branch="master" git://github.com/haiwen/libsearpc.git deps/libsearpc
|
2016-12-21 15:30:49 +08:00
|
|
|
|
2019-05-18 15:27:09 +08:00
|
|
|
pushd deps/libsearpc
|
|
|
|
./autogen.sh && ./configure --disable-fuse --disable-server --enable-client
|
|
|
|
make -j8 && sudo make install
|
2016-12-21 15:30:49 +08:00
|
|
|
popd
|