2016-11-19 00:35:29 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
2017-02-21 22:44:12 +08:00
|
|
|
# install all dependencies on debian based operating systems
|
|
|
|
for pkg in wget git cmake uuid-dev clang-3.8; do
|
|
|
|
dpkg -s $pkg 2>/dev/null >/dev/null || sudo apt-get -y install $pkg
|
|
|
|
done
|
2016-11-19 00:35:29 +08:00
|
|
|
|
2017-03-06 23:15:20 +08:00
|
|
|
# create a default build directory
|
|
|
|
mkdir -p ./build
|
|
|
|
|
2017-02-21 22:44:12 +08:00
|
|
|
# setup libs (download)
|
2016-11-19 00:35:29 +08:00
|
|
|
cd libs
|
|
|
|
./setup.sh
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
echo "DONE"
|