Browse Source

busy

pull/2/head
Johannes Schickling 10 years ago
parent
commit
8aa043d31d
  1. 4
      opencv/install.sh

4
opencv/install.sh

@ -5,7 +5,7 @@ opencv_deps=(libopencv-dev yasm libtiff4-dev libjpeg-dev libjasper-dev libavcode
install_deps=(curl build-essential checkinstall cmake pkg-config) install_deps=(curl build-essential checkinstall cmake pkg-config)
# install dependencies # install dependencies
apt-get update && apt-get install -y $install_deps
apt-get update && apt-get install -y ${install_deps[@]}
# download opencv # download opencv
curl -sL https://github.com/Itseez/opencv/archive/$opencv_version.tar.gz | tar xvz -C /tmp curl -sL https://github.com/Itseez/opencv/archive/$opencv_version.tar.gz | tar xvz -C /tmp
@ -22,7 +22,7 @@ ldconfig
ln /dev/null /dev/raw1394 # hide warning - http://stackoverflow.com/questions/12689304/ctypes-error-libdc1394-error-failed-to-initialize-libdc1394 ln /dev/null /dev/raw1394 # hide warning - http://stackoverflow.com/questions/12689304/ctypes-error-libdc1394-error-failed-to-initialize-libdc1394
# cleanup package manager # cleanup package manager
apt-get remove --purge -y $install_deps && apt-get autoclean && apt-get clean
apt-get remove --purge -y ${install_deps[@]} && apt-get autoclean && apt-get clean
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# prepare dir # prepare dir

Loading…
Cancel
Save