Created
March 8, 2016 01:09
-
-
Save yuasatakayuki/7befd5702be2772e9cee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PREFIX=$HOME/work/install | |
cd $HOME | |
if [ ! -d $PREFIX ]; then | |
mkdir -p $PREFIX | |
fi | |
for LIBRARY_NAME in HongoScripts; do | |
pushd $PREFIX | |
rm -rf ${LIBRARY_NAME} | |
git clone https://github.com/yuasatakayuki/${LIBRARY_NAME}.git | |
pushd ${LIBRARY_NAME} | |
mkdir build | |
pushd build | |
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local | |
sudo make install | |
popd | |
popd | |
popd | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment