opentechinstitute / commotion-router

The build system for the OpenWRT-based Commotion firmware.
https://commotionwireless.net
GNU General Public License v3.0
121 stars 43 forks source link

CMake version in debian package repository outdated #163

Open gradyoti opened 9 years ago

gradyoti commented 9 years ago

The CMake version in the apt repo is 2.8, but we need 3.0.

The README will have to be updated to indicate that (at least for Debian-based distros) you can't simply apt-get the required CMake package.

The following script works: export fn=/tmp/cmake.sh && ls $fn && (echo "use previous $fn? Enter for yes, ctrl+d for no." && read) || (wget -O $fn http://www.cmake.org/files/v3.0/cmake-3.0.2-Linux-i386.sh 1>&2) && (cd /opt && sudo bash ${fn} && echo sudo ln -f -s /opt/cmake*/bin/cmake /usr/bin/cmake && cd -)