~ salmonella-environment-setup (master) /system-setup/debian-wheezy.sh
Trap1#! /bin/sh23## Quick&dirty script to install libraries required by eggs.45set -ex67anchor=$(readlink -f $(dirname "$0"))8. "$anchor/debian-common.sh"910to_install="\11 packages/debian-wheezy.sh \12 agar.sh \13 bvspis.sh \14 cmark.sh \15 cryptlib.sh \16 epeg.sh \17 iup.sh \18 canvas_draw.sh \19 kiwi.sh \20 libgit2.sh \21 proccpuinfo.sh \22 tcc.sh \23"2425for script in $to_install; do26 cd "$tmpdir"27 . "$installers_dir/$script"28done293031### glfw33233mkdir -p $tmpdir/glfw334cd $tmpdir/glfw335wget http://ufpr.dl.sourceforge.net/project/glfw/glfw/3.0.4/glfw-3.0.4.zip36unzip glfw-3.0.4.zip37cd glfw-3.0.438cmake -D BUILD_SHARED_LIBS=1 .39make40sudo make install4142# Will install:43# -- Installing: /usr/local/include/GLFW44# -- Installing: /usr/local/include/GLFW/glfw3native.h45# -- Installing: /usr/local/include/GLFW/glfw3.h46# -- Installing: /usr/local/lib/cmake/glfw/glfwConfig.cmake47# -- Installing: /usr/local/lib/cmake/glfw/glfwConfigVersion.cmake48# -- Installing: /usr/local/lib/cmake/glfw/glfwTargets.cmake49# -- Installing: /usr/local/lib/cmake/glfw/glfwTargets-noconfig.cmake50# -- Installing: /usr/local/lib/pkgconfig/glfw3.pc51# -- Installing: /usr/local/lib/libglfw.so.3.052# -- Installing: /usr/local/lib/libglfw.so.353# -- Installing: /usr/local/lib/libglfw.so545556### nanomsg5758mkdir -p $tmpdir/nanomsg59cd $tmpdir/nanomsg60wget http://download.nanomsg.org/nanomsg-0.4-beta.tar.gz61tar xzvf nanomsg-0.4-beta.tar.gz62cd nanomsg-0.4-beta63./configure --prefix=/usr/local64make65sudo make install666768### libsass6970mkdir -p $tmpdir/libsass71cd $tmpdir/libsass72wget https://github.com/sass/libsass/archive/3.2.5.tar.gz -O libsass-3.2.5.tar.gz73tar xzvf libsass-3.2.5.tar.gz74cd libsass-3.2.5/75make76sudo make install install-shared777879### lmdb8081mkdir -p $tmpdir/lmdb82cd $tmpdir/lmdb83git clone https://github.com/LMDB/lmdb.git84cd lmdb/libraries/liblmdb85make86sudo make install878889### ola90echo 'deb http://apt.openlighting.org/debian wheezy main' >> /etc/apt/sources.list91sudo apt-get update92sudo apt-get install -y ola-dev939495### libnova96cd $tmpdir97git clone git://git.code.sf.net/p/libnova/libnova98cd libnova99./autogen.sh100./configure101make102sudo make install103104105### libsodium106cd $tmpdir107git clone https://github.com/jedisct1/libsodium.git108cd libsodium109git checkout 1.0.11110./autogen.sh111./configure112make113sudo make install114115116### Finishing117sudo ldconfig