#!/bin/sh if [ -z $1 ]; then echo "Usage: $0 " exit 0 fi PREFIX=$1 ##ds485-core git clone git://gitorious.digitalstrom.org/ds485-stack/ds485-core.git pushd ds485-core git checkout production mkdir -p build; cd build cmake -DCMAKE_INSTALL_PREFIX=$1 .. make make install popd #ds485d git clone git://gitorious.digitalstrom.org/ds485-stack/ds485d.git pushd ds485d git checkout production mkdir -p build; cd build cmake -DCMAKE_INSTALL_PREFIX=$1 .. make make install popd #ds485-client git clone git://gitorious.digitalstrom.org/ds485-stack/ds485-client.git pushd ds485-client git checkout production mkdir -p build; cd build cmake -DCMAKE_INSTALL_PREFIX=$1 .. make make install popd #dsm-api git clone git://gitorious.digitalstrom.org/ds485-stack/dsm-api.git pushd dsm-api git checkout production mkdir -p build; cd build cmake -DCMAKE_INSTALL_PREFIX=$1 -DWITH_SCRIPTING=yes .. make make install popd #dss git clone git://gitorious.digitalstrom.org/dss/dss-mainline.git pushd dss-mainline git checkout 1.2.0 cmake -DCMAKE_INSTALL_PREFIX=$1 -DLIBDSM_PREFIX=$1 make -j4 make install popd #dss-websrc wget http://developer.digitalstrom.org/download/dss/1.2/dss-web-1.2.0-release.tar.gz tar -xzf dss-web-1.2.0-release.tar.gz mv dss-web-1.2.0/dss-web/webroot $1/share/dss/ #dss starten $1/bin/dss -w $1/share/dss/webroot